Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class EdmFunctionReferenceExpression extends EdmElement implements IFunctionReferenceExpression |
||
18 | { |
||
19 | /** |
||
20 | * @var IFunction |
||
21 | */ |
||
22 | private $referencedFunction; |
||
23 | |||
24 | /** |
||
25 | * Initializes a new instance of the EdmFunctionReferenceExpression class. |
||
26 | * @param IFunction $referencedFunction Referenced function |
||
27 | */ |
||
28 | public function __construct(IFunction $referencedFunction) |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | */ |
||
36 | public function getExpressionKind(): ExpressionKind |
||
37 | { |
||
38 | return ExpressionKind::FunctionReference(); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | public function getReferencedFunction(): IFunction |
||
47 | } |
||
48 | } |