Folder::child PHP 메소드

child() 공개 메소드

Returns a subfolder object by path
public child ( $path ) : mixed
리턴 mixed Directory
    public function child($path)
    {
        $root = $this->root . DS . str_replace('/', DS, $path);
        if (!is_dir($root)) {
            return false;
        }
        return new static($root);
    }