1 | <?php |
||
16 | final class StaticClosureMethodInvocation extends AbstractMethodInvocation |
||
17 | { |
||
18 | /** |
||
19 | * Closure to use |
||
20 | * |
||
21 | * @var \Closure |
||
22 | */ |
||
23 | protected $closureToCall = null; |
||
24 | |||
25 | /** |
||
26 | * Previous scope of invocation |
||
27 | * |
||
28 | * @var null|object|string |
||
29 | */ |
||
30 | protected $previousScope = null; |
||
31 | |||
32 | /** |
||
33 | * Invokes original method and return result from it |
||
34 | * |
||
35 | * @return mixed |
||
36 | */ |
||
37 | 13 | public function proceed() |
|
60 | |||
61 | /** |
||
62 | * Returns static method invoker |
||
63 | * |
||
64 | * @param string $className Class name to forward request |
||
65 | * @param string $method Method name to call |
||
66 | * |
||
67 | * @return \Closure |
||
68 | */ |
||
69 | protected static function getStaticInvoker($className, $method) |
||
75 | } |
||
76 |