| 1 | <?php |
||
| 17 | final class EnvironmentConfigEvent extends Event |
||
| 18 | { |
||
| 19 | public const EVENT = 'TwigView.TwigView.environment'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | private $config = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param array $config |
||
| 28 | * |
||
| 29 | * @return static |
||
| 30 | */ |
||
| 31 | 19 | public static function create(array $config): EnvironmentConfigEvent |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | 19 | public function getConfig(): array |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @param array $config |
||
| 49 | * |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | 19 | public function setConfig(array $config) |
|
| 58 | } |
||
| 59 |