1 | <?php namespace ParaTest\Console\Commands; |
||
10 | class ParaTestCommand extends Command |
||
11 | { |
||
12 | /** |
||
13 | * @var \ParaTest\Console\Testers\Tester |
||
14 | */ |
||
15 | protected $tester; |
||
16 | |||
17 | 7 | public function __construct(Tester $tester) |
|
18 | { |
||
19 | 7 | parent::__construct('paratest'); |
|
20 | 7 | $this->tester = $tester; |
|
21 | 7 | $this->tester->configure($this); |
|
22 | 7 | } |
|
23 | |||
24 | /** |
||
25 | * @return bool |
||
26 | */ |
||
27 | 9 | public static function isWhitelistSupported() |
|
31 | |||
32 | /** |
||
33 | * Ubiquitous configuration options for ParaTest |
||
34 | */ |
||
35 | 7 | protected function configure() |
|
52 | |||
53 | /** |
||
54 | * Executes the specified tester |
||
55 | * |
||
56 | * @param InputInterface $input |
||
57 | * @param OutputInterface $output |
||
58 | * @return int|mixed|null |
||
59 | */ |
||
60 | 1 | public function execute(InputInterface $input, OutputInterface $output) |
|
64 | } |
||
65 |