Nette\Utils\Finder::from PHP 메소드

from() 공개 메소드

Searchs recursively from the given folder(s).
public from ( $paths ) : self
리턴 self
    public function from(...$paths)
    {
        if ($this->paths) {
            throw new Nette\InvalidStateException('Directory to search has already been specified.');
        }
        $this->paths = is_array($paths[0]) ? $paths[0] : $paths;
        $this->cursor =& $this->exclude;
        return $this;
    }