Re: [PHP-DEV] [Reflection] Improve logic of ReflectionMethod->invokeArgs() for static methods

2013-01-14 Thread Alexander Lissachenko
is pointing to the decorator class after weaving. Source code still use $class = new AliasLoader(), but the class now contains additional logic that was introduced by aspects. 2013/1/14 Sebastian Krebs : > > > > 2013/1/14 Alexander Lissachenko >> >> My use-case is wea

Re: [PHP-DEV] [Reflection] Improve logic of ReflectionMethod->invokeArgs() for static methods

2013-01-14 Thread Alexander Lissachenko
I do not use static methods, frameworks and applications use them )). I just want to extend logic of class methods in the application with custom behavior (Logging, Caching) and preserve original scope. It's already done for PHP 5.4 with closures and my library works well with any PHP framework. F

Re: [PHP-DEV] [Reflection] Improve logic of ReflectionMethod->invokeArgs() for static methods

2013-01-14 Thread Alexander Lissachenko
... } } 2013/1/14 Sebastian Krebs : > > > > 2013/1/14 Alexander Lissachenko >> >> Hi! It's my first letter here ) >> >> I want to suggest a small improvement for ReflectionMethod->invoke() >> and ReflectionMethod->invokeArgs() methods to support