PHP 클래스 GraphAware\Neo4j\OGM\Metadata\LabeledPropertyMetadata

파일 보기 프로젝트 열기: graphaware/neo4j-php-ogm

공개 메소드들

메소드 설명
__construct ( string $propertyName, ReflectionProperty $reflectionProperty, Label $annotation )
getLabelName ( ) : string
getPropertyName ( ) : string
getValue ( object $object ) : mixed
isLabelSet ( object $object ) : boolean
setLabel ( object $object, boolean $value )

메소드 상세

__construct() 공개 메소드

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

getLabelName() 공개 메소드

public getLabelName ( ) : string
리턴 string

getPropertyName() 공개 메소드

public getPropertyName ( ) : string
리턴 string

getValue() 공개 메소드

public getValue ( object $object ) : mixed
$object object
리턴 mixed

isLabelSet() 공개 메소드

public isLabelSet ( object $object ) : boolean
$object object
리턴 boolean

setLabel() 공개 메소드

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