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
Afficher le fichier Open project: goaop/framework Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

Returns the access type.
public getAccessType ( ) : integer
Résultat integer

getField() public méthode

Gets the field being accessed.
public getField ( ) : ReflectionProperty
Résultat ReflectionProperty the field being accessed.

getValue() public méthode

Gets the current value of property by reference
public getValue ( ) : mixed
Résultat mixed

getValueToSet() public méthode

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