PHP Class GraphAware\Neo4j\OGM\Metadata\LabeledPropertyMetadata

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

Public Methods

Method 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 method

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

getLabelName() public method

public getLabelName ( ) : string
return string

getPropertyName() public method

public getPropertyName ( ) : string
return string

getValue() public method

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

isLabelSet() public method

public isLabelSet ( object $object ) : boolean
$object object
return boolean

setLabel() public method

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