1 | <?php |
||
7 | class ProjectConfig extends AbstractConfig |
||
8 | { |
||
9 | 12 | public function __construct($path) |
|
15 | |||
16 | 12 | protected function getDefaults() |
|
22 | |||
23 | 12 | protected function getRequirements() |
|
30 | |||
31 | 12 | protected function getProjectDefaults() |
|
38 | |||
39 | 12 | protected function setProjectDefaults() |
|
52 | |||
53 | /** |
||
54 | * Try to find a project and return it. |
||
55 | * |
||
56 | * @return array $project |
||
57 | */ |
||
58 | 10 | protected function findProject($name, $ref) |
|
79 | |||
80 | /** |
||
81 | * Return a project identified by its short url. |
||
82 | * |
||
83 | * @param $name |
||
84 | * @param string $ref |
||
85 | * |
||
86 | * @throws Exception |
||
87 | * |
||
88 | * @return array $project |
||
89 | */ |
||
90 | 10 | public function getProject($name, $ref = 'master') |
|
102 | } |
||
103 |