Files
Twig/lib
Fabien Potencier 79e5058611 added support for __call() in expression resolution (closes #2)
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
2010-05-10 12:47:39 +02:00
..