| 1 | <?php |
||
| 16 | class ExtensionMapper extends AbstractMapper |
||
| 17 | { |
||
| 18 | protected $extensions = []; |
||
| 19 | |||
| 20 | protected $matchSinglePart = false; |
||
| 21 | |||
| 22 | protected $reservedParts = 2; |
||
| 23 | |||
| 24 | public function __construct(array $extensions) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * map extensions in the parts array |
||
| 31 | * |
||
| 32 | * @param array $parts the name parts |
||
| 33 | * @return array the mapped parts |
||
| 34 | */ |
||
| 35 | public function map(array $parts): array |
||
| 48 | } |