| Total Complexity | 9 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | trait FilterTrait |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string[] |
||
| 20 | */ |
||
| 21 | protected $names; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string[] |
||
| 25 | */ |
||
| 26 | protected $only; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string[] |
||
| 30 | */ |
||
| 31 | protected $except; |
||
| 32 | |||
| 33 | 5 | public function getNames(): array |
|
| 34 | { |
||
| 35 | 5 | return $this->names; |
|
| 36 | } |
||
| 37 | |||
| 38 | 5 | public function getOnly(): array |
|
| 39 | { |
||
| 40 | 5 | return $this->only; |
|
| 41 | } |
||
| 42 | |||
| 43 | 5 | public function getExcept(): array |
|
| 46 | } |
||
| 47 | |||
| 48 | 1 | public function isSupportsMethod(string $method): bool |
|
| 63 | } |
||
| 64 | } |
||
| 65 |