Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | trait HasIncluded |
||
13 | { |
||
14 | /** |
||
15 | * The collection of included resources |
||
16 | * |
||
17 | * @var CollectionContract |
||
18 | */ |
||
19 | protected $included; |
||
20 | |||
21 | /** |
||
22 | * Sets the included collection. |
||
23 | * |
||
24 | * @param CollectionContract $included |
||
25 | * |
||
26 | * @return static |
||
27 | */ |
||
28 | 6 | public function setIncluded($included) |
|
33 | } |
||
34 | |||
35 | /** |
||
36 | * Gets the included collection. |
||
37 | * |
||
38 | * @return CollectionContract $included |
||
39 | */ |
||
40 | 9 | public function getIncluded() |
|
45 |