mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
8a47e05b730119120136bc1d72bc77912e4a6be4
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #2557).
Discussion
----------
add throws tags doc block for Twig_Environment:load
On an internal project review we noticed that `\Twig_Environment::load` is not providing throw tags. As this method is just a proxy for `\Twig_Environment::loadTemplate` which itself is _internal_ we had some discussion around.
this PR provides same throw tags as _loadTemplate_. Maybe this helps to understand code usage
Commits
-------
882c7aab add throws tags doc block for Twig_Environment:load
…
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%