'Views',
empty($fileExt) ? 'php' :
$fileExt );
} // locateFile will return an empty string if the file cannot be found.
if (empty($this->renderVars
['file'
])) { throw ViewException::
forInvalidFile($this->renderVars
['view'
]);
} // Make our view data available to the view.
$this->
prepareTemplateData($saveData);
// Save current vars
$renderVars =
$this->renderVars;
$output =
(function D
): string
{ extract($this->tempData
);
ob_start();
include $this->renderVars
['file'
];
return ob_get_clean() ?: '';
})();