| 1 | <?php |
||
| 13 | class ExtensionMapper extends AbstractMapper |
||
| 14 | { |
||
| 15 | protected $extensions = []; |
||
| 16 | |||
| 17 | protected $matchSinglePart = false; |
||
| 18 | |||
| 19 | protected $reservedParts = 2; |
||
| 20 | |||
| 21 | public function __construct(array $extensions) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * map extensions in the parts array |
||
| 28 | * |
||
| 29 | * @param array $parts the name parts |
||
| 30 | * @return array the mapped parts |
||
| 31 | */ |
||
| 32 | public function map(array $parts): array |
||
| 45 | } |