1 | <?php |
||
31 | class AccessInterceptorValueHolderMock implements AccessInterceptorValueHolderInterface |
||
32 | { |
||
33 | /** |
||
34 | * @var object |
||
35 | */ |
||
36 | public $instance; |
||
37 | |||
38 | /** |
||
39 | * @var callable[] |
||
40 | */ |
||
41 | public $prefixInterceptors; |
||
42 | |||
43 | /** |
||
44 | * @var callable[] |
||
45 | */ |
||
46 | public $suffixInterceptors; |
||
47 | |||
48 | /** |
||
49 | * @param object $instance |
||
50 | * @param callable[] $prefixInterceptors |
||
51 | * @param callable[] $suffixInterceptors |
||
52 | * |
||
53 | * @return self |
||
54 | */ |
||
55 | public static function staticProxyConstructor($instance, $prefixInterceptors, $suffixInterceptors) : self |
||
65 | |||
66 | /** |
||
67 | * {@inheritDoc} |
||
68 | */ |
||
69 | public function setMethodPrefixInterceptor(string $methodName, \Closure $prefixInterceptor = null) |
||
73 | |||
74 | /** |
||
75 | * {@inheritDoc} |
||
76 | */ |
||
77 | public function setMethodSuffixInterceptor(string $methodName, \Closure $suffixInterceptor = null) |
||
81 | |||
82 | /** |
||
83 | * {@inheritDoc} |
||
84 | */ |
||
85 | public function getWrappedValueHolderValue() |
||
89 | } |
||
90 |