| 1 | <?php |
||
| 7 | class PathExpander |
||
| 8 | { |
||
| 9 | private $kernel; |
||
| 10 | |||
| 11 | public function __construct(KernelInterface $kernel) |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Expands the given path if needed (i.e bundle resource path) |
||
| 18 | * |
||
| 19 | * @param string $path The path to expand |
||
| 20 | * |
||
| 21 | * @return string The expanded path |
||
| 22 | */ |
||
| 23 | public function expand($path) |
||
| 35 | } |
||
| 36 |