| 1 | <?php  | 
            ||
| 7 | final class Weaver  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var BindInterface  | 
            ||
| 11 | */  | 
            ||
| 12 | private $bind;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var string  | 
            ||
| 16 | */  | 
            ||
| 17 | private $bindName;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var string  | 
            ||
| 21 | */  | 
            ||
| 22 | private $classDir;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @var AopClassName  | 
            ||
| 26 | */  | 
            ||
| 27 | private $aopClassName;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @var Compiler  | 
            ||
| 31 | */  | 
            ||
| 32 | private $compiler;  | 
            ||
| 33 | |||
| 34 | public function __construct(BindInterface $bind, string $classDir)  | 
            ||
| 42 | |||
| 43 | /**  | 
            ||
| 44 | * @param class-string $class  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 45 | * @param mixed[] $args  | 
            ||
| 46 | */  | 
            ||
| 47 | public function newInstance(string $class, array $args) : object  | 
            ||
| 56 | |||
| 57 | /**  | 
            ||
| 58 | * @param class-string $class  | 
            ||
| 59 | *  | 
            ||
| 60 | * @return class-string  | 
            ||
| 61 | */  | 
            ||
| 62 | public function weave(string $class) : string  | 
            ||
| 78 | |||
| 79 | private function loadClass(string $class) : bool  | 
            ||
| 90 | }  | 
            ||
| 91 | 
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.