| 1 | <?php |
||
| 15 | abstract class BaseCommand extends Command |
||
| 16 | { |
||
| 17 | |||
| 18 | /** @var ClientInterface */ |
||
| 19 | protected $client; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * GetClassifiersCommand constructor. |
||
| 23 | * |
||
| 24 | * @param null|string $name |
||
| 25 | * @param ClientInterface $client |
||
| 26 | */ |
||
| 27 | 8 | public function __construct($name = null, ClientInterface $client = null) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Configure command |
||
| 36 | */ |
||
| 37 | 8 | protected function configure() |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @return ClientInterface |
||
| 59 | */ |
||
| 60 | 1 | public function getDefaultClient() |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @return ClientInterface |
||
| 67 | */ |
||
| 68 | 1 | public function getClient() |
|
| 72 | } |
||
| 73 |