| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function __construct(array $config = []) |
||
| 31 | {
|
||
| 32 | $defaultConfig = [ |
||
| 33 | 'driver' => 'moustache', |
||
| 34 | 'allowPhpScripts' => true, |
||
| 35 | 'allowPhpFunctions' => true, |
||
| 36 | 'allowPhpConstants' => true, |
||
| 37 | 'allowPhpGlobals' => true, |
||
| 38 | ]; |
||
| 39 | |||
| 40 | $config = array_merge($defaultConfig, $config); |
||
| 41 | |||
| 42 | parent::__construct($config); |
||
| 43 | } |
||
| 44 | } |