Gaufrette\Adapter\PhpseclibSftp::__construct PHP Méthode

__construct() public méthode

public __construct ( SFTP $sftp, string $directory = null, boolean $create = false )
$sftp phpseclib\Net\SFTP An Sftp instance
$directory string The distant directory
$create boolean Whether to create the remote directory if it does not exist
    public function __construct(SecLibSFTP $sftp, $directory = null, $create = false)
    {
        $this->sftp = $sftp;
        $this->directory = $directory;
        $this->create = $create;
    }