| 1 | <?php |
||
| 11 | class EndsWith implements FileMatcher |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * {@inheritdoc} |
||
| 16 | */ |
||
| 17 | public function match($needle, array $haystack) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Find if two strings end in the same way |
||
| 30 | * @param $haystack |
||
| 31 | * @param $needle |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | protected function fileEndsWith($haystack, $needle) |
||
| 40 | } |
||
| 41 |