Conditions | 2 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function __construct(array $trail) |
||
27 | { |
||
28 | $this->key = array_pop($trail); |
||
29 | $this->trail = $trail; |
||
30 | |||
31 | parent::__construct(sprintf( |
||
32 | 'Missing required config entry: "%s"%s.', |
||
33 | $this->key, |
||
34 | 0 < count($this->trail) ? sprintf(' (%s)', implode('.', array_merge($this->trail, [$this->key]))) : '' |
||
35 | )); |
||
36 | } |
||
37 | |||
53 | } |