PHP Class Demo\Aspect\PropertyInterceptorAspect

Be aware, it's very tricky and will not work for indirect modification, such as array_pop($this->property);
Inheritance: implements Go\Aop\Aspect
Datei anzeigen Open project: goaop/framework

Public Methods

Method Description
aroundFieldAccess ( Go\Aop\Intercept\FieldAccess $fieldAccess ) : mixed Advice that controls an access to the properties

Method Details

aroundFieldAccess() public method

Advice that controls an access to the properties
public aroundFieldAccess ( Go\Aop\Intercept\FieldAccess $fieldAccess ) : mixed
$fieldAccess Go\Aop\Intercept\FieldAccess Joinpoint
return mixed