1 | <?php |
||
17 | final class DynamicClosureMethodInvocation extends AbstractMethodInvocation |
||
18 | { |
||
19 | /** |
||
20 | * Closure to use |
||
21 | * |
||
22 | * @var \Closure |
||
23 | */ |
||
24 | protected $closureToCall; |
||
25 | |||
26 | /** |
||
27 | * Previous instance of invocation |
||
28 | * |
||
29 | * @var null|object|string |
||
30 | */ |
||
31 | protected $previousInstance; |
||
32 | |||
33 | /** |
||
34 | * Invokes original method and return result from it |
||
35 | * |
||
36 | * @return mixed |
||
37 | */ |
||
38 | 7 | public function proceed() |
|
60 | } |
||
61 |