| 1 | <?php |
||
| 22 | class BasePathTransformer extends AbstractLocationTransformer implements |
||
| 23 | LocationTransformerInterface |
||
| 24 | { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Tries to transform the provided location data into a server URI |
||
| 28 | * |
||
| 29 | * @param string $location Location name, path or identifier |
||
| 30 | * @param array $options Filter options |
||
| 31 | * |
||
| 32 | * @return UriInterface|null |
||
| 33 | */ |
||
| 34 | public function transform($location, array $options = []) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Get the request base path |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | private function getBasePath() |
||
| 57 | |||
| 58 | } |