| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | public static function getInstance(array $aliases = []) |
||
| 43 | { |
||
| 44 | if (is_null(static::$instance)) { |
||
| 45 | return static::$instance = new static($aliases); |
||
| 46 | } |
||
| 47 | |||
| 48 | $aliases = array_merge(static::$instance->aliases, $aliases); |
||
| 49 | |||
| 50 | static::$instance->aliases = $aliases; |
||
| 51 | |||
| 52 | return static::$instance; |
||
| 53 | } |
||
| 82 |