PHP Class GraphAware\Neo4j\OGM\Metadata\LabeledPropertyMetadata

Afficher le fichier Open project: graphaware/neo4j-php-ogm

Méthodes publiques

Méthode Description
__construct ( string $propertyName, ReflectionProperty $reflectionProperty, Label $annotation )
getLabelName ( ) : string
getPropertyName ( ) : string
getValue ( object $object ) : mixed
isLabelSet ( object $object ) : boolean
setLabel ( object $object, boolean $value )

Method Details

__construct() public méthode

public __construct ( string $propertyName, ReflectionProperty $reflectionProperty, Label $annotation )
$propertyName string
$reflectionProperty ReflectionProperty
$annotation GraphAware\Neo4j\OGM\Annotations\Label

getLabelName() public méthode

public getLabelName ( ) : string
Résultat string

getPropertyName() public méthode

public getPropertyName ( ) : string
Résultat string

getValue() public méthode

public getValue ( object $object ) : mixed
$object object
Résultat mixed

isLabelSet() public méthode

public isLabelSet ( object $object ) : boolean
$object object
Résultat boolean

setLabel() public méthode

public setLabel ( object $object, boolean $value )
$object object
$value boolean