goaop / framework

:gem: Go! AOP PHP - modern aspect-oriented framework for the new level of software development
go.aopphp.com
MIT License
1.66k stars 163 forks source link

[BC Break] Internal container refactoring. #501

Closed lisachenko closed 5 months ago

lisachenko commented 5 months ago

New version drops the GoAspectContainer class and rely just on Container class now. Container uses now generic methods, so IDE and PhpStan aware about types now. Tags have been replaced with interface names, which simplifies usage of marker interfaces. All unnecessary string variables were replaced with class FQN. No more special methods to register advisors or pointcuts - they are just values in container.

scrutinizer-notifier commented 5 months ago

A new inspection was created.