1 | <?php |
||
9 | class PlatformSpecificRunRunner implements RunRunner |
||
10 | { |
||
11 | const COMMAND_NAME = 'run'; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $phpspecPath; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $phpspecConfig; |
||
22 | |||
23 | /** |
||
24 | * @var CommandRunner |
||
25 | */ |
||
26 | private $commandRunner; |
||
27 | |||
28 | /** |
||
29 | * @var CachingExecutableFinder |
||
30 | */ |
||
31 | private $executableFinder; |
||
32 | |||
33 | /** |
||
34 | * @param CommandRunner $commandRunner |
||
35 | * @param CachingExecutableFinder $executableFinder |
||
36 | * @param string $phpspecPath |
||
37 | * @param string $phpspecConfig |
||
38 | */ |
||
39 | public function __construct( |
||
50 | |||
51 | /** |
||
52 | * @return boolean |
||
53 | */ |
||
54 | public function isSupported() |
||
58 | |||
59 | public function runRunCommand() |
||
66 | |||
67 | /** |
||
68 | * @return array |
||
69 | */ |
||
70 | private function getCommandArguments() |
||
77 | |||
78 | /** |
||
79 | * @return array |
||
80 | */ |
||
81 | private function composeConfigOption() |
||
90 | } |
||
91 |