Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
| NoFiltering | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
| isFiltered | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| followField | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\Serializer\FieldFilters; |
| 3 | |
| 4 | final class NoFiltering implements FieldFilterInterface |
| 5 | { |
| 6 | public function isFiltered(string $fieldName): bool |
| 7 | { |
| 8 | return true; |
| 9 | } |
| 10 | |
| 11 | public function followField(string $fieldName): FieldFilterInterface |
| 12 | { |
| 13 | return $this; |
| 14 | } |
| 15 | } |