1 | <?php |
||
10 | class ExpressionBeforeCompile extends \Webiny\Component\EventManager\Event |
||
11 | { |
||
12 | const EVENT_NAME = 'expression.before-compile'; |
||
13 | |||
14 | /** |
||
15 | * @var Context |
||
16 | */ |
||
17 | private $context; |
||
18 | |||
19 | /** |
||
20 | * @var \PhpParser\Node\Expr |
||
21 | */ |
||
22 | private $expression; |
||
23 | |||
24 | public function __construct(\PhpParser\NodeAbstract $expression, Context $context) |
||
31 | |||
32 | /** |
||
33 | * @return \PhpParser\Node\Expr |
||
34 | */ |
||
35 | public function getExpression() |
||
39 | |||
40 | /** |
||
41 | * @return Context |
||
42 | */ |
||
43 | public function getContext() |
||
47 | } |
||
48 |