public function config() { return Assets::instance()->config(); }
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; }