1 | <?php |
||
20 | class StaticInitializationJoinpoint extends AbstractJoinpoint |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * @var ReflectionClass |
||
25 | */ |
||
26 | protected $reflectionClass; |
||
27 | |||
28 | /** |
||
29 | * Constructor for the class static initialization joinpoint |
||
30 | * |
||
31 | * @param $advices array List of advices for this invocation |
||
32 | */ |
||
33 | 1 | public function __construct(string $className, string $unusedType, array $advices) |
|
42 | |||
43 | /** |
||
44 | * Proceeds to the next interceptor in the chain. |
||
45 | * |
||
46 | * @return void Static initializtion could not return anything |
||
47 | */ |
||
48 | 1 | public function proceed() |
|
55 | |||
56 | /** |
||
57 | * Invokes current joinpoint with all interceptors |
||
58 | */ |
||
59 | 1 | final public function __invoke(): void |
|
64 | |||
65 | /** |
||
66 | * Returns the object that holds the current joinpoint's static |
||
67 | * part. |
||
68 | * |
||
69 | * @return object|null the object (can be null if the accessible object is |
||
70 | * static). |
||
71 | */ |
||
72 | public function getThis() |
||
76 | |||
77 | /** |
||
78 | * Returns the static part of this joinpoint. |
||
79 | * |
||
80 | * @return ReflectionClass |
||
81 | */ |
||
82 | public function getStaticPart() |
||
86 | |||
87 | /** |
||
88 | * Returns a friendly description of current joinpoint |
||
89 | */ |
||
90 | final public function __toString(): string |
||
97 | } |
||
98 |