Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class FtpConnector extends Command |
||
25 | { |
||
26 | protected $client; |
||
27 | |||
28 | protected $credentials; |
||
29 | |||
30 | public function __construct( |
||
31 | FtpClient $client, |
||
32 | CredentialsManager $credentials, |
||
33 | string $name = null |
||
34 | ) { |
||
35 | $this->client = $client; |
||
36 | $this->credentials = $credentials; |
||
37 | parent::__construct($name); |
||
38 | } |
||
39 | |||
40 | protected function configure() |
||
45 | } |
||
46 | |||
47 | protected function execute(InputInterface $input, OutputInterface $output) |
||
65 |