| @@ -1,21 +1,21 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | - | |
| 4 | -namespace FL\Assistant\Providers; | |
| 5 | - | |
| 6 | - | |
| 7 | -use FL\Assistant\System\View; | |
| 8 | -use FL\Assistant\System\Contracts\ServiceProviderAbstract; | |
| 9 | - | |
| 10 | -class ViewServiceProvider extends ServiceProviderAbstract { | |
| 11 | - | |
| 12 | - | |
| 13 | - /** | |
| 14 | - * | |
| 15 | - */ | |
| 16 | - public function bootstrap() { | |
| 17 | - $template_dir = sprintf( '%s/backend/templates', FL_ASSISTANT_DIR ); | |
| 18 | - // $this->injector->defineParam( 'template_dir', ); | |
| 19 | - $this->injector->define( View::class, [ $template_dir ] ); | |
| 20 | - } | |
| 21 | -} | |
| 1 | +<?php | |
| 2 | + | |
| 3 | + | |
| 4 | +namespace FL\Assistant\Providers; | |
| 5 | + | |
| 6 | + | |
| 7 | +use FL\Assistant\System\View; | |
| 8 | +use FL\Assistant\System\Contracts\ServiceProviderAbstract; | |
| 9 | + | |
| 10 | +class ViewServiceProvider extends ServiceProviderAbstract { | |
| 11 | + | |
| 12 | + | |
| 13 | + /** | |
| 14 | + * | |
| 15 | + */ | |
| 16 | + public function bootstrap() { | |
| 17 | + $template_dir = sprintf( '%s/backend/templates', FL_ASSISTANT_DIR ); | |
| 18 | + // $this->injector->defineParam( 'template_dir', ); | |
| 19 | + $this->injector->define( View::class, [ $template_dir ] ); | |
| 20 | + } | |
| 21 | +} | |