lib/Touki/FTP/Manager/FTPFilesystemManager.php
public function getCwd()
    {
        $path = $this->wrapper->pwd();

        if ('/' === $path) {
            return new Directory('/');
        }

        return $this->findDirectoryByName($path);
    }
public function getCwd()
    {
        $path = $this->wrapper->pwd();

        if ('/' === $path) {
            return new Directory('/');
        }

        return $this->findDirectoryByName($path);
    }
public function getCwd ( ) { $ path = $ this -> wrapper -> pwd ( ) ; if ( '/' === $ path ) { return new Directory ( '/' ) ; } return $ this -> findDirectoryByName ( $ path ) ; }
Returns the current working directory

@return Directory Current directory
Returns the current working directory