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