File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/Symfony/Component/Security/Core/Authorization Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \ExpressionLanguage \ExpressionLanguage as BaseExpressionLanguage ;
15
15
16
+ if (!class_exists ('Symfony\Component\ExpressionLanguage\ExpressionLanguage ' )) {
17
+ throw new \LogicException ('Install symfony/expression-language ' );
18
+ }
19
+
16
20
/**
17
21
* Adds some function to the default ExpressionLanguage.
18
22
*
Original file line number Diff line number Diff line change 14
14
use Symfony \Component \ExpressionLanguage \ExpressionFunction ;
15
15
use Symfony \Component \ExpressionLanguage \ExpressionFunctionProviderInterface ;
16
16
17
+ if (!interface_exists ('Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface ' )) {
18
+ throw new \LogicException ('Install symfony/expression-language ' );
19
+ }
20
+
17
21
/**
18
22
* Define some ExpressionLanguage functions.
19
23
*
You can’t perform that action at this time.
0 commit comments