1 | <?php |
||
23 | final class FlySystemAssets implements Assets |
||
24 | { |
||
25 | /** @var Filesystem|MountManager */ |
||
26 | private $filesystem; |
||
27 | |||
28 | /** |
||
29 | * @param Filesystem|MountManager $filesystem |
||
30 | */ |
||
31 | public function __construct($filesystem) |
||
35 | |||
36 | /** |
||
37 | * @inheritDoc |
||
38 | */ |
||
39 | public function get(Path $location) |
||
47 | |||
48 | /** |
||
49 | * @inheritDoc |
||
50 | */ |
||
51 | public function has(Path $location) |
||
55 | |||
56 | /** |
||
57 | * Returns a new instance of this collection with the assets for the given template included. |
||
58 | * |
||
59 | * @param Template $template |
||
60 | * |
||
61 | * @return Assets |
||
62 | */ |
||
63 | public function includeTemplateAssets(Template $template) |
||
75 | } |
||
76 |