Is there a way to put the view cache in another directory? It bothers me to edit files and sometimes I open the wrong one, eg:
- file.volt
- file.volt.php
- second.volt
- second.volt.php
$di->set('view', function() {
$view = new \Phalcon\Mvc\View();
$view->setViewsDir('../app/views/');
$view->registerEngines([
".volt" => 'Phalcon\Mvc\View\Engine\Volt'
]);
return $view;
});