1 | <?php |
||
12 | final class Compiler implements CompilerInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | public $classDir; |
||
18 | |||
19 | /** |
||
20 | * @var CodeGenInterface |
||
21 | */ |
||
22 | private $codeGen; |
||
23 | |||
24 | /** |
||
25 | * @var AopClassName |
||
26 | */ |
||
27 | 24 | private $aopClassName; |
|
28 | |||
29 | 24 | /** |
|
30 | 1 | * @throws \Doctrine\Common\Annotations\AnnotationException |
|
31 | */ |
||
32 | 24 | public function __construct(string $classDir) |
|
45 | 1 | ||
46 | public function __sleep() |
||
50 | |||
51 | /** |
||
52 | * @throws \Doctrine\Common\Annotations\AnnotationException |
||
53 | 10 | */ |
|
54 | public function __wakeup() |
||
58 | |||
59 | 10 | /** |
|
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function newInstance(string $class, array $args, BindInterface $bind) |
||
71 | 17 | ||
72 | 7 | /** |
|
73 | * {@inheritdoc} |
||
74 | 10 | * |
|
75 | 10 | * @param class-string $class |
|
|
|||
76 | * |
||
77 | * @return class-string |
||
78 | 1 | */ |
|
79 | public function compile(string $class, BindInterface $bind) : string |
||
93 | |||
94 | 17 | /** |
|
95 | * @param class-string $class |
||
96 | 17 | */ |
|
97 | private function hasNoBinding(string $class, BindInterface $bind) : bool |
||
103 | 18 | ||
104 | 18 | /** |
|
105 | 18 | * @param class-string $class |
|
106 | 17 | */ |
|
107 | 17 | private function hasBoundMethod(string $class, BindInterface $bind) : bool |
|
119 | 9 | ||
120 | 9 | /** |
|
121 | * @param \ReflectionClass<object> $sourceClass |
||
122 | */ |
||
123 | private function requireFile(string $aopClassName, \ReflectionClass $sourceClass, BindInterface $bind) : void |
||
131 | } |
||
132 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.