mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 13:26:37 +00:00
3879038edca613144ef8021c9e5e598446e18a9d
This PR was squashed before being merged into the 1.x branch (closes #2176).
Discussion
----------
Improved Sandbox error handling
On the model of the SecurityNotAllowedFilterError, SecurityNotAllowedFunctionError and SecurityNotAllowedTagError, I added SecurityNotAllowedMethodError and SecurityNotAllowedPropertyError to allow the user to retrieve both the $className and $methodName/$propertyName from the exception.
Commits
-------
e1c980f Improved Sandbox error handling
Twig, the flexible, fast, and secure template language for PHP ============================================================== Twig is a template language for PHP, released under the new BSD license (code and documentation). Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment. More Information ---------------- Read the `documentation`_ for more information. .. _documentation: http://twig.sensiolabs.org/documentation
Description
Languages
PHP
99.9%