Matthimatiker/AspectPHP

Rename Advice classes to Advisor

Matthimatiker opened this issue · 1 comments

Rename all Advice classes that encapsulate an advice method and a pointcut to Advisor.

Tagged methods (for example via @before) in aspects are called advices.
To distinguish between these advices and helper objects, all helper classes that just encapsulate an advice/pointcut combination should be renamed to Advisor.

Renamed Advice classes to Advisor where necessary.

Introduced Advice and Advisor interfaces to be able to distinguish between both (further refactoring required).