Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class MediaCollection |
||
12 | { |
||
13 | use ForwardsCalls; |
||
14 | |||
15 | /** |
||
16 | * @var \Illuminate\Support\Collection |
||
17 | */ |
||
18 | private $items; |
||
19 | |||
20 | public function __construct(array $items = []) |
||
21 | { |
||
22 | $this->items = new Collection($items); |
||
23 | } |
||
24 | |||
25 | public static function make(array $items = []): self |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Returns an array with all locals paths of the Media items. |
||
32 | */ |
||
33 | public function getLocalPaths(): array |
||
36 | } |
||
37 | |||
38 | public function collection(): Collection |
||
39 | { |
||
40 | return $this->items; |
||
41 | } |
||
42 | |||
43 | public function __call($method, $parameters) |
||
46 | } |
||
47 | } |
||
48 |