public function getViewMTime($view)
{
$view = $this->jarves->resolvePath($view, 'Resources/views/');
if (!file_exists($view)) {
throw new FileNotFoundException(sprintf('File `%s` not found.', $view));
}
return filemtime($view);
}