public function childExists($name)
    {
        if ('.' == $name || '..' == $name) {
            throw new DAV\Exception\Forbidden('Permission denied to . and ..');
        }
        $path = $this->path.'/'.$name;

        return file_exists($path);
    }
public function childExists($name)
    {
        if ('.' == $name || '..' == $name) {
            throw new DAV\Exception\Forbidden('Permission denied to . and ..');
        }
        $path = $this->path.'/'.$name;

        return file_exists($path);
    }
public function childExists ( $ name ) { if ( '.' == $ name || '..' == $ name ) { throw new DAV \ Exception \ Forbidden ( 'Permission denied to . and ..' ) ; } $ path = $ this -> path . '/' . $ name ; return file_exists ( $ path ) ; }
Checks if a child exists.

@param string $name

@return bool
Checks if a child exists .