1 | <?php |
||
13 | class LoaderBridge implements LoaderInterface |
||
|
|||
14 | { |
||
15 | /** |
||
16 | * @var \Spiral\Views\LoaderInterface |
||
17 | */ |
||
18 | private $loader; |
||
19 | |||
20 | /** |
||
21 | * @param \Spiral\Views\LoaderInterface $loader |
||
22 | */ |
||
23 | public function __construct(\Spiral\Views\LoaderInterface $loader) |
||
27 | |||
28 | /** |
||
29 | * @param string $path |
||
30 | * |
||
31 | * @return StemplerSource |
||
32 | */ |
||
33 | public function getSource(string $path): StemplerSource |
||
39 | } |