Total Complexity | 5 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | trait LinkerFacadeTrait |
||
21 | { |
||
22 | /** |
||
23 | * @var LinkerInterface |
||
24 | */ |
||
25 | protected LinkerInterface $linker; |
||
26 | |||
27 | /** |
||
28 | * @return void |
||
29 | */ |
||
30 | private function bootLinkerFacadeTrait(): void |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | */ |
||
38 | public function autoload(callable $loader): LinkerInterface |
||
39 | { |
||
40 | return $this->linker->autoload($loader); |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return LinkerInterface |
||
45 | */ |
||
46 | public function getLinker(): LinkerInterface |
||
47 | { |
||
48 | return $this->linker; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * {@inheritDoc} |
||
53 | */ |
||
54 | public function cancelAutoload(callable $loader): LinkerInterface |
||
55 | { |
||
56 | return $this->linker->cancelAutoload($loader); |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * {@inheritDoc} |
||
61 | */ |
||
62 | public function getAutoloaders(): iterable |
||
65 | } |
||
66 | } |
||
67 |