Esempio n. 1
0
 public function config()
 {
     return Assets::instance()->config();
 }
Esempio n. 2
0
 public function assetsFactory()
 {
     $rootPath = $this->app->config()['paths']['root'];
     $assets = new Assets();
     $assets->addPathsFrom([$rootPath->expand('app', 'assets'), $rootPath->expand('lib', 'assets'), $rootPath->expand('vendor', 'assets')]);
     return $assets;
 }