class ViewvarComposer
View composer here is registered in the Devise\Pages\PagesServiceProvider.php for all views that are contained within the view-vars config file.
That is how those views have their data injected into them properly - by running through this view composer.
Methods
|
__construct(DataBuilder $DataBuilder, $Config = null)
Create new instance of ViewvarComposer |
||
| void |
compose(View $view)
Injects data from config into the current view |
Details
at line 45
public
__construct(DataBuilder $DataBuilder, $Config = null)
Create new instance of ViewvarComposer
at line 57
public void
compose(View $view)
Injects data from config into the current view