Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | public static function environment() |
||
29 | { |
||
30 | if (is_null(self::$definition)) { |
||
31 | self::$definition = (new Definition()) |
||
32 | ->addEnvironment('dev') |
||
33 | ->addEnvironment('homolog') |
||
34 | ->inheritFrom('dev') |
||
35 | ->addEnvironment('live') |
||
36 | ->inheritFrom('homolog') |
||
37 | ->inheritFrom('dev'); |
||
38 | // ->setCache($somePsr16Implementation); // This will cache the result; |
||
39 | } |
||
40 | |||
41 | return self::$definition; |
||
42 | } |
||
44 |