public function __construct(SftpClient $sftp, $directory = null, $create = false) { $this->sftp = $sftp; $this->directory = $directory; $this->create = $create; }