Example #1
0
 /**
  * Create an instance of the ftp driver.
  *
  * @param array $config
  * @return \Illuminate\Contracts\Filesystem\Filesystem 
  * @static 
  */
 public static function createFtpDriver($config)
 {
     return \Illuminate\Filesystem\FilesystemManager::createFtpDriver($config);
 }
 /**
  * {@inheritdoc}
  */
 public function createFtpDriver(array $config)
 {
     if ($this->skipOverride()) {
         $adapter = parent::createFtpDriver($config);
     } else {
         $adapter = $this->adapt($this->createFlysystem(parent::createFtpDriver($config)->getAdapter(), $config));
     }
     return $adapter;
 }