NextDom\Helpers\PrepareView::getContentFromControllerRouteData
Load routes file and show content depends of the route
Signature
private function getContentFromControllerRouteData(Route
$controllerRouteData,
[array&
$pageData = NULL] )
Parameters
$controllerRouteData
— object
$pageData
— array- Array with the content to pass to the render
Returns
- string|null
- Content of the route