Alexander Lisachenko
Alexander Lisachenko
Yes, PDO are core classes, so without this feature, framework can't handle them.
@lgoldstein your pointcut will never match anything, correct form is `@Around(execution(**\mysql_query(*))` - execution of system `mysql_query` in all namespaces. But it's only a minor fix. Framework is not suited for...
@lgoldstein nice questions, you are right that tool should work for **any** application. Unfortunately, [PHP-Token-Reflection](https://github.com/Andrewsville/PHP-Token-Reflection) library (which is used internally by framework) may not be able to parse any code,...
One more possible way to handle your cases is to utilize `uopz` or `runkit` extensions. They have possibility to redefine functions and methods on the fly. This can be also...
> I will continue to follow your project - at least for supporting core classes and/or functions - even if mixed HTML / PHP code is (for now) not supported....
@TheCelavi It is still possible ) But requires AST transformation support from PHP-Parser with preseration of white nodes. Idea is following: we define a pointcut for system namespace like this:...
> Concept is based on: "If I can not hook into PHP system classes and do the monkey patching, I can wrap it with something on which I can do...
@rahmatrh199 This feature is not supported, all internal (pre-defined) classes could not be processed by framework as there is no source code to transform. You could use a wrapper (eg....
@JeyDotC Thank you for the feedback! Really interesting use case. We can extend it by providing virtual composer packages, eg `something/di-aware` and real implementations for symfony2, zend that provide `something/di-aware`...
> AOP is MUST HAVE for PHP to compete with modern programming languages. Yes ) It would be cool, but at the moment there is no implementation for the core,...