| 1 | <?php namespace Modules\Core\Composers; |
||
| 8 | class AssetsViewComposer |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var AssetManager |
||
| 12 | */ |
||
| 13 | protected $assetManager; |
||
| 14 | /** |
||
| 15 | * @var AssetPipeline |
||
| 16 | */ |
||
| 17 | protected $assetPipeline; |
||
| 18 | /** |
||
| 19 | * @var AssetTypeFactory |
||
| 20 | */ |
||
| 21 | protected $assetFactory; |
||
| 22 | |||
| 23 | public function __construct(AssetManager $assetManager, AssetPipeline $assetPipeline, AssetTypeFactory $assetTypeFactory) |
||
| 29 | |||
| 30 | public function compose(View $view) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Require the default assets from config file on the asset pipeline |
||
| 40 | */ |
||
| 41 | private function requireDefaultAssets() |
||
| 46 | } |
||
| 47 |