class
Illuminate
/
View
/
ViewServiceProvider
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ViewServiceProvider
Extends
Methods
public
register ( ) : void
Register the service provider.
public
registerFactory ( ) : void
Register the view environment.
protected
createFactory ( $resolver , $finder , $events ) : Factory
Create a new Factory Instance.
Parameters
- $resolver EngineResolver
- $finder ViewFinderInterface
- $events Dispatcher
public
registerViewFinder ( ) : void
Register the view finder implementation.
public
registerBladeCompiler ( ) : void
Register the Blade compiler implementation.
public
registerEngineResolver ( ) : void
Register the engine resolver instance.
public
registerFileEngine ( $resolver ) : void
Register the file engine implementation.
Parameters
- $resolver EngineResolver
public
registerPhpEngine ( $resolver ) : void
Register the PHP engine implementation.
Parameters
- $resolver EngineResolver
public
registerBladeEngine ( $resolver ) : void
Register the Blade engine implementation.
Parameters
- $resolver EngineResolver