Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait LinkableTrait |
||
8 | { |
||
9 | /** |
||
10 | * Get the fully qualified class name of the model's link generator |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | abstract protected function getLinkGeneratorClass(); |
||
15 | |||
16 | /** |
||
17 | * Get the model's link generator |
||
18 | * |
||
19 | * @param array $options |
||
20 | * @return LinkGenerator |
||
21 | */ |
||
22 | 24 | public function getLinkGenerator(array $options = []) : LinkGenerator |
|
28 |