1 | <?php |
||
7 | class PhpCsTool implements CommandInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | private $files; |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $standard; |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $errorMessage; |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $ignore; |
||
25 | |||
26 | /** |
||
27 | * PhpCsToolCommand constructor. |
||
28 | * |
||
29 | * @param array $files |
||
30 | * @param string $standard |
||
31 | * @param string $errorMessage |
||
32 | * @param string $ignore |
||
33 | */ |
||
34 | 3 | public function __construct(array $files, $standard, $errorMessage, $ignore) |
|
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | 2 | public function getErrorMessage() |
|
49 | |||
50 | /** |
||
51 | * @return array |
||
52 | */ |
||
53 | 2 | public function getFiles() |
|
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | 2 | public function getStandard() |
|
65 | |||
66 | /** |
||
67 | * @return string |
||
68 | */ |
||
69 | 2 | public function getIgnore() |
|
73 | } |
||
74 |