1 | <?php |
||
14 | final class SpyCompiler implements CompilerInterface |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | public function newInstance($class, array $args, BindInterface $bind) |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function compile($class, BindInterface $bind) : string |
||
35 | |||
36 | private function hasNoBinding($class, BindInterface $bind) : bool |
||
42 | |||
43 | private function hasBoundMethod(string $class, BindInterface $bind) : bool |
||
55 | |||
56 | private function getInterceptors(BindInterface $bind) : string |
||
69 | } |
||
70 |