1 | <?php declare(strict_types=1); |
||
31 | class ExecutionContext implements ExecutionContextInterface |
||
32 | { |
||
33 | /** |
||
34 | * @var WrapperInterface |
||
35 | */ |
||
36 | private $wrapper; |
||
37 | /** |
||
38 | * @var RuntimeFunctionInterface |
||
39 | */ |
||
40 | private $runtime_function; |
||
41 | /** |
||
42 | * @var FunctionCallbackInfo |
||
43 | */ |
||
44 | private $args; |
||
45 | /** |
||
46 | * @var FunctionSpecInterface |
||
47 | */ |
||
48 | private $spec; |
||
49 | |||
50 | 4 | public function __construct(WrapperInterface $wrapper, RuntimeFunctionInterface $runtime_function, FunctionCallbackInfo $args, FunctionSpecInterface $spec) |
|
57 | |||
58 | 3 | public function getIsolate(): Isolate |
|
62 | |||
63 | 3 | public function getContext(): Context |
|
67 | |||
68 | 1 | public function getThis(): ObjectValue |
|
72 | |||
73 | 2 | public function getWrapper(): WrapperInterface |
|
77 | |||
78 | 2 | public function getRuntimeFunction(): RuntimeFunctionInterface |
|
82 | |||
83 | 1 | public function getFunctionCallbackInfo(): FunctionCallbackInfo |
|
87 | |||
88 | 1 | public function getFunctionSpec(): FunctionSpecInterface |
|
92 | |||
93 | 1 | public function getFunctionObject(): FunctionObject |
|
98 | |||
99 | 1 | public function wrap($value) |
|
103 | |||
104 | 1 | public function wrapNativeFunction(ObjectValue $recv, FunctionObject $function_object): NativeFunctionWrapperInterface |
|
108 | } |
||
109 |