1 | <?php namespace G2R\Config; |
||
5 | class ProjectConfig extends AbstractConfig |
||
6 | { |
||
7 | 12 | public function __construct($path) |
|
13 | |||
14 | 12 | protected function getDefaults() |
|
20 | |||
21 | 12 | protected function getRequirements() |
|
28 | |||
29 | 12 | protected function getProjectDefaults() |
|
36 | |||
37 | 12 | protected function setProjectDefaults() |
|
50 | |||
51 | /** |
||
52 | * Try to find a project and return it |
||
53 | * |
||
54 | * @return array $project |
||
55 | */ |
||
56 | 10 | protected function findProject($name, $ref) |
|
77 | |||
78 | /** |
||
79 | * Return a project identified by its short url |
||
80 | * |
||
81 | * @param $name |
||
82 | * @param string $ref |
||
83 | * |
||
84 | * @return array $project |
||
85 | * @throws Exception |
||
86 | */ |
||
87 | 10 | public function getProject($name, $ref = 'master') |
|
99 | } |
||
100 |