I am currently using phalcon framework. I want to ask is it possible to use .volt and .phtml file extensions for my views in a same project. In my services.php file view component is set with this code:
$di->set('view', function() use ($config) {
$view = new View();
$view->setViewsDir($config->application->viewsDir);
$view->registerEngines(array(
    '.volt' => function($view, $di) use ($config) {
        $volt = new VoltEngine($view, $di);
        $volt->setOptions(array(
        'compiledPath' => $config->application->cacheDir .                      
                            'volt/',
            'compiledSeparator' => '_'
        ));
        return $volt;
    }
));
return $view;}, true);
If is possible to write it so it opens .volt view files, as .phtml files, because I need to add some jQuery and Ajax in a view, and i it won't work in .volt.