| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function __construct(BindInterface $bind, string $classDir) |
||
| 40 | { |
||
| 41 | $this->bind = $bind; |
||
| 42 | $this->bindName = $bind->toString(''); |
||
| 43 | $this->compiler = new Compiler($classDir); |
||
| 44 | $this->classDir = $classDir; |
||
| 45 | $this->aopClassName = new AopClassName; |
||
| 46 | $this->regsterLoader(); |
||
| 47 | } |
||
| 48 | |||
| 83 |
Late static binding only has effect in subclasses. A
finalclass cannot be extended anymore so late static binding cannot occurr. Consider replacingstatic::withself::.To learn more about late static binding, please refer to the PHP core documentation.