Свойство | Тип | Описание | |
---|---|---|---|
$instance | object | Instance of object for accessing | |
$newValue | mixed | New value to set | |
$reflectionProperty | ReflectionProperty | Instance of reflection property |
Метод | Описание | |
---|---|---|
__construct ( string $className, string $fieldName, array $advices ) | Constructor for field access | |
__invoke ( object $instance, integer $accessType, mixed &$originalValue, mixed $newValue = NAN ) : mixed | Invokes current field access with all interceptors | |
__toString ( ) : string | Returns a friendly description of current joinpoint | |
ensureScopeRule ( integer $stackLevel = 2 ) : true | Checks scope rules for accessing property | |
getAccessType ( ) : integer | Returns the access type. | |
getField ( ) : ReflectionProperty | Gets the field being accessed. | |
getStaticPart ( ) : object | Returns the static part of this joinpoint. | |
getThis ( ) : object | null | Returns the object that holds the current joinpoint's static part. | |
getValue ( ) : mixed | Gets the current value of property | |
getValueToSet ( ) : mixed | Gets the value that must be set to the field. | |
proceed ( ) : void | Proceed to the next interceptor in the Chain |
final public __invoke ( object $instance, integer $accessType, mixed &$originalValue, mixed $newValue = NAN ) : mixed | ||
$instance | object | Instance of object |
$accessType | integer | Type of access: READ or WRITE |
$originalValue | mixed | Original value of property |
$newValue | mixed | New value to set |
Результат | mixed |
final public __toString ( ) : string | ||
Результат | string |
public ensureScopeRule ( integer $stackLevel = 2 ) : true | ||
$stackLevel | integer | Stack level for check |
Результат | true | if access is OK |
public getAccessType ( ) : integer | ||
Результат | integer |
public getField ( ) : ReflectionProperty | ||
Результат | ReflectionProperty | the field being accessed. |
final public getStaticPart ( ) : object | ||
Результат | object |
public getValueToSet ( ) : mixed | ||
Результат | mixed |
protected object $instance | ||
Результат | object |