mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-04 19:07:11 +00:00
79e5058611
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