Esempio n. 1
0
 public function __construct(EventDispatcherInterface $dispatcher, AbstractTransporter $innerTransporter = null)
 {
     parent::__construct($dispatcher);
     if (null !== $innerTransporter) {
         $this->setInnerTransporter($innerTransporter);
     }
 }
Esempio n. 2
0
 public function __construct(EventDispatcherInterface $dispatcher, $sftp = null, IOInterface $io)
 {
     parent::__construct($dispatcher);
     if (null === $sftp) {
         $sftp = new Sftp();
     }
     $this->sftp = $sftp;
     $this->io = $io;
 }
Esempio n. 3
0
 public function __construct(EventDispatcherInterface $dispatcher, Cli $cli)
 {
     parent::__construct($dispatcher);
     $this->cli = $cli;
 }