| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Fields |
||
| 11 | { |
||
| 12 | /** @var Collection $fields */ |
||
| 13 | private $fields; |
||
| 14 | |||
| 15 | 12 | public function __construct(Request $request) |
|
| 20 | 12 | }); |
|
| 21 | 12 | } |
|
| 22 | |||
| 23 | 6 | public function has($resourceName) |
|
| 24 | { |
||
| 25 | 6 | return $this->fields->has($resourceName); |
|
| 26 | } |
||
| 27 | |||
| 28 | 6 | public function get(string $resourceName): array |
|
| 31 | } |
||
| 32 | |||
| 33 | 3 | public function filled(): bool |
|
| 38 |