PHP Interface Go\Aop\Intercept\FieldAccess

A field access is a joinpoint and can be intercepted by a field interceptor.
Inheritance: extends Go\Aop\Intercept\Joinpoint
Datei anzeigen Open project: goaop/framework Interface Usage Examples

Public Methods

Method Description
getAccessType ( ) : integer Returns the access type.
getField ( ) : ReflectionProperty Gets the field being accessed.
getValue ( ) : mixed Gets the current value of property by reference
getValueToSet ( ) : mixed Gets the value that must be set to the field, applicable only for WRITE access type

Method Details

getAccessType() public method

Returns the access type.
public getAccessType ( ) : integer
return integer

getField() public method

Gets the field being accessed.
public getField ( ) : ReflectionProperty
return ReflectionProperty the field being accessed.

getValue() public method

Gets the current value of property by reference
public getValue ( ) : mixed
return mixed

getValueToSet() public method

Gets the value that must be set to the field, applicable only for WRITE access type
public getValueToSet ( ) : mixed
return mixed