PHP Class GraphAware\Neo4j\OGM\Metadata\EntityPropertyMetadata

Datei anzeigen Open project: graphaware/neo4j-php-ogm

Public Methods

Method Description
__construct ( string $propertyName, ReflectionProperty $reflectionProperty, PropertyAnnotationMetadata $propertyAnnotationMetadata ) EntityPropertyMetadata constructor.
getPropertyName ( ) : string
getReflectionProperty ( ) : ReflectionProperty
getValue ( object $object ) : mixed
setValue ( object $object, mixed $value )

Private Methods

Method Description
checkAccess ( )

Method Details

__construct() public method

EntityPropertyMetadata constructor.
public __construct ( string $propertyName, ReflectionProperty $reflectionProperty, PropertyAnnotationMetadata $propertyAnnotationMetadata )
$propertyName string
$reflectionProperty ReflectionProperty
$propertyAnnotationMetadata PropertyAnnotationMetadata

getPropertyName() public method

public getPropertyName ( ) : string
return string

getReflectionProperty() public method

public getReflectionProperty ( ) : ReflectionProperty
return ReflectionProperty

getValue() public method

public getValue ( object $object ) : mixed
$object object
return mixed

setValue() public method

public setValue ( object $object, mixed $value )
$object object
$value mixed