mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
79e5058611e2e249ccb8568e7624f6ed5fc50b60
The new algorithm for object method resolution is now the following: * get all methods declared for `$object` using ReflectionObject::getMethods() * check if `$item` is in the list of method names * check if `get$item` is in the list of method names * check if `__call` is defined and pass `$item` as the method name
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.
Description
Languages
PHP
99.9%