예제 #1
0
파일: Base.php 프로젝트: railsphp/railsphp
 public function config()
 {
     return Assets::instance()->config();
 }
예제 #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;
 }