PHP Class GraphAware\Neo4j\OGM\Metadata\RelationshipMetadata

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

Méthodes publiques

Méthode Description
__construct ( string $className, ReflectionProperty $reflectionProperty, Relationship $relationshipAnnotation, boolean $isLazy = false, OrderBy $orderBy = null )
addToCollection ( object $object, mixed $value )
addToCollectionAdvanced ( $object, $value, NodeEntityMetadata $valueMetadata )
getDirection ( ) : string
getMappedByProperty ( ) : string
getOrder ( ) : string
getOrderByPropery ( ) : string
getPropertyName ( ) : string
getReflectionProperty ( ) : ReflectionProperty
getRelationshipEntityClass ( ) : string
getTargetEntity ( ) : string
getType ( ) : string
getValue ( $object ) : mixed
hasMappedByProperty ( ) : boolean
hasOrderBy ( ) : boolean
initializeCollection ( $object )
isCollection ( ) : boolean
isLazy ( ) : boolean
isRelationshipEntity ( ) : boolean
setValue ( $object, $value )

Method Details

__construct() public méthode

public __construct ( string $className, ReflectionProperty $reflectionProperty, Relationship $relationshipAnnotation, boolean $isLazy = false, OrderBy $orderBy = null )
$className string
$reflectionProperty ReflectionProperty
$relationshipAnnotation GraphAware\Neo4j\OGM\Annotations\Relationship
$isLazy boolean
$orderBy GraphAware\Neo4j\OGM\Annotations\OrderBy

addToCollection() public méthode

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

addToCollectionAdvanced() public méthode

public addToCollectionAdvanced ( $object, $value, NodeEntityMetadata $valueMetadata )
$valueMetadata NodeEntityMetadata

getDirection() public méthode

public getDirection ( ) : string
Résultat string

getMappedByProperty() public méthode

public getMappedByProperty ( ) : string
Résultat string

getOrder() public méthode

public getOrder ( ) : string
Résultat string

getOrderByPropery() public méthode

public getOrderByPropery ( ) : string
Résultat string

getPropertyName() public méthode

public getPropertyName ( ) : string
Résultat string

getReflectionProperty() public méthode

public getReflectionProperty ( ) : ReflectionProperty
Résultat ReflectionProperty

getRelationshipEntityClass() public méthode

public getRelationshipEntityClass ( ) : string
Résultat string

getTargetEntity() public méthode

public getTargetEntity ( ) : string
Résultat string

getType() public méthode

public getType ( ) : string
Résultat string

getValue() public méthode

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

hasMappedByProperty() public méthode

public hasMappedByProperty ( ) : boolean
Résultat boolean

hasOrderBy() public méthode

public hasOrderBy ( ) : boolean
Résultat boolean

initializeCollection() public méthode

public initializeCollection ( $object )
$object

isCollection() public méthode

public isCollection ( ) : boolean
Résultat boolean

isLazy() public méthode

public isLazy ( ) : boolean
Résultat boolean

isRelationshipEntity() public méthode

public isRelationshipEntity ( ) : boolean
Résultat boolean

setValue() public méthode

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