| 1 | <?php  | 
            ||
| 20 | final class KernelFileLocator implements FileLocatorInterface  | 
            ||
| 21 | { | 
            ||
| 22 | use IsAServiceTrait;  | 
            ||
| 23 | |||
| 24 | private $fileLocator;  | 
            ||
| 25 | private $kernel;  | 
            ||
| 26 | |||
| 27 | public function __construct(FileLocatorInterface $decoratedFileLocator, KernelInterface $kernel)  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @inheritdoc  | 
            ||
| 35 | */  | 
            ||
| 36 | public function locate(string $name, string $currentPath = null): string  | 
            ||
| 44 | }  |