DataBuilder
class DataBuilder
This builds the variables that are found in views.php config for a devise page. It uses a ViewComposer (found in this directory) to inject in the data that is built using this class.
Methods
Construct a new data builder
Injects data from config into the current view
Set the data that will be used by a view composer
Get the data for the view composer
Gets the value of the view variable from options by parsing the options string and also any parameters for this specific variable.
Details
at line 40
__construct(DataCrawler $DataCrawler)
Construct a new data builder
at line 50
array
compile($queue)
Injects data from config into the current view
at line 63
array
setData(array $data)
Set the data that will be used by a view composer
at line 73
array
getData()
Get the data for the view composer
at line 87
array
getValue($options)
Gets the value of the view variable from options by parsing the options string and also any parameters for this specific variable.