1 | <?php |
||
10 | class ComposerConfig |
||
11 | { |
||
12 | /** |
||
13 | * Массив с данными из composer.json |
||
14 | */ |
||
15 | private $config = null; |
||
16 | |||
17 | /** |
||
18 | * @param array $config |
||
19 | */ |
||
20 | public function __construct(array $config) |
||
24 | |||
25 | /** |
||
26 | * @param string $file |
||
27 | * @return ComposerConfig |
||
28 | * @throws RuntimeException |
||
29 | */ |
||
30 | public static function createFromFile($file) |
||
46 | |||
47 | /** |
||
48 | * @param $name |
||
49 | * @param $arguments |
||
50 | * @return mixed |
||
51 | * @throws RuntimeException |
||
52 | */ |
||
53 | public function __call($name, $arguments) |
||
75 | } |