| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | trait Has |
||
| 29 | { |
||
| 30 | protected function hasJson(string $filename): bool |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function hasValidation(string $filename): bool |
||
| 38 | { |
||
| 39 | $name = $this->filename($filename); |
||
| 40 | |||
| 41 | return Str::startsWith($name, 'validation'); |
||
| 42 | } |
||
| 43 | |||
| 44 | protected function hasAlignment(): bool |
||
| 45 | { |
||
| 46 | return Config::hasAlignment(); |
||
| 47 | } |
||
| 48 | |||
| 49 | protected function hasInline(): bool |
||
| 52 | } |
||
| 53 | } |
||
| 54 |