Exemplo n.º 1
0
 /**
  * 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();
 }
Exemplo n.º 2
0
 /**
  * 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);
 }