PHP Класс Demo\Aspect\FluentInterfaceAspect
Basically, it uses around method to intercept all public setters in the class that implements
special marker interface FluentInterface. Then it checks the return value for setter, if it's null,
then advice replaces it with reference to the object "$this".
Показать файл
Открыть проект
Защищенные методы
Описание методов
aroundMethodExecution()
защищенный Метод