We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di); $volt->setOptions(array( "compiledPath" => $cacheDir, "compiledExtension" => ".compiled", "stat" => true, "compileAlways" => true, ));
//this does not work $volt->getCompiler()->addFilter('myfilter', 'md5');
//this causes sigfalt $volt->getCompiler()->addFilter('myfilter', function () { return 'somevalue'; });
The text was updated successfully, but these errors were encountered:
Merge pull request #1831 from sjinks/issue-1828
dc5ec73
Fix #1828
Fixed by @sjinks
Sorry, something went wrong.
pulled latest version f8b581f bug is still reproduceable
@MaksSlesarenko if you build Phalcon from build/, please run
php build/gen-build.php
first, then compile Phalcon.
now it works, thanks
No branches or pull requests
$volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
$volt->setOptions(array(
"compiledPath" => $cacheDir,
"compiledExtension" => ".compiled",
"stat" => true,
"compileAlways" => true,
));
//this does not work
$volt->getCompiler()->addFilter('myfilter', 'md5');
//this causes sigfalt
$volt->getCompiler()->addFilter('myfilter', function () {
return 'somevalue';
});
The text was updated successfully, but these errors were encountered: