We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to design classes with advice in the docblocks something like:
/** * @@around \TestLib\debug */ class Foo { /** * @@before \AuthorizationLib\authorize */ public function bar() { // ... } /** * @@after \LogLib\log */ public function baz() { // ... } }
Maybe @@ will help to distinguish between advice and documentation. Thanks!
@@
The text was updated successfully, but these errors were encountered:
I think the idea is interesting but it would reduce performance only to add some syntactic sugar, that wouldn’t be used by everyone.
It can be implemented separately on top of aop-php, otherwise like https://github.com/lisachenko/go-aop-php (it is not based on php-aop).
Sorry, something went wrong.
No branches or pull requests
I'd like to design classes with advice in the docblocks something like:
Maybe
@@
will help to distinguish between advice and documentation. Thanks!The text was updated successfully, but these errors were encountered: