/** * Sınıfı başlatır ve ftp ile bağlantı kurar * * @param array $connection * @param array $file * @param string $target */ public function __construct(array $connection = [], $file = [], $target = 'upload') { parent::__construct($file, $target); $this->connection = new FtpConnection($connection); $this->connection->connect(); }
/** * Sınıfı başlatır ve üst sınıfı başlatır * * @param array $file * @param string $target */ public function __construct(array $file = [], $target = 'upload') { parent::__construct($file, $target); }