1 | <?php |
||
23 | class Enabler |
||
24 | { |
||
25 | /** |
||
26 | * @var Command |
||
27 | */ |
||
28 | private $command; |
||
29 | |||
30 | public function __construct(Command $command) |
||
34 | |||
35 | /** |
||
36 | * @param $name |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | public function functionExists($name) |
||
44 | |||
45 | /** |
||
46 | * @return void |
||
47 | */ |
||
48 | public function operatingSystemIsNotWindows() |
||
52 | |||
53 | /** |
||
54 | * @param $condition |
||
55 | * @param $message |
||
56 | */ |
||
57 | private function assert($condition, $message) |
||
67 | } |
||
68 |