class ViewvarComposer

View composer here is registered in the Devise\Pages\PagesServiceProvider.php for all views that are contained within the views 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
__construct(DataBuilder $DataBuilder, $Config = null)

Create new instance of ViewvarComposer

Parameters

DataBuilder $DataBuilder
$Config

at line 57
void compose(View $view)

Injects data from config into the current view

Parameters

View $view

Return Value

void