| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Prefix implements FileMatcher |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $prefix; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Prefix constructor. |
||
| 20 | * @param string $prefix |
||
| 21 | */ |
||
| 22 | public function __construct(string $prefix) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function match(string $needle, array $haystack): string |
||
| 41 |