PHP Class GraphAware\Neo4j\OGM\Metadata\GraphEntityMetadata

Inheritance: implements Doctrine\Common\Persistence\Mapping\ClassMetadata
Afficher le fichier Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Свойство Type Description
$className string
$entityIdMetadata EntityIdMetadata
$entityPropertiesMetadata EntityPropertyMetadata[]
$reflectionClass ReflectionClass

Méthodes publiques

Méthode Description
__construct ( EntityIdMetadata $entityIdMetadata, string $className, ReflectionClass $reflectionClass, array $entityPropertiesMetadata ) GraphEntityMetadata constructor.
getClassName ( ) : string
getFieldNames ( )
getIdValue ( $object ) : mixed
getIdentifier ( ) : string
getIdentifierFieldNames ( )
getIdentifierValues ( $object )
getName ( )
getPropertiesMetadata ( ) : EntityPropertyMetadata[]
getPropertyMetadata ( $key ) : EntityPropertyMetadata | null
getPropertyValuesArray ( object $object ) : array
getReflectionClass ( )
getTypeOfField ( $fieldName )
hasField ( $fieldName )
isIdentifier ( $fieldName )
newInstance ( ) : object
setId ( $object, $value )

Method Details

__construct() public méthode

GraphEntityMetadata constructor.
public __construct ( EntityIdMetadata $entityIdMetadata, string $className, ReflectionClass $reflectionClass, array $entityPropertiesMetadata )
$entityIdMetadata EntityIdMetadata
$className string
$reflectionClass ReflectionClass
$entityPropertiesMetadata array

getClassName() public méthode

public getClassName ( ) : string
Résultat string

getFieldNames() public méthode

public getFieldNames ( )

getIdValue() public méthode

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

getIdentifier() public méthode

public getIdentifier ( ) : string
Résultat string

getIdentifierFieldNames() public méthode

getIdentifierValues() public méthode

public getIdentifierValues ( $object )

getName() public méthode

public getName ( )

getPropertiesMetadata() public méthode

public getPropertiesMetadata ( ) : EntityPropertyMetadata[]
Résultat EntityPropertyMetadata[]

getPropertyMetadata() public méthode

public getPropertyMetadata ( $key ) : EntityPropertyMetadata | null
$key
Résultat EntityPropertyMetadata | null

getPropertyValuesArray() public méthode

public getPropertyValuesArray ( object $object ) : array
$object object
Résultat array

getReflectionClass() public méthode

public getReflectionClass ( )

getTypeOfField() public méthode

public getTypeOfField ( $fieldName )

hasField() public méthode

public hasField ( $fieldName )

isIdentifier() public méthode

public isIdentifier ( $fieldName )

newInstance() public méthode

public newInstance ( ) : object
Résultat object

setId() public méthode

public setId ( $object, $value )
$object
$value

Property Details

$className protected_oe property

protected string $className
Résultat string

$entityIdMetadata protected_oe property

protected EntityIdMetadata,GraphAware\Neo4j\OGM\Metadata $entityIdMetadata
Résultat EntityIdMetadata

$entityPropertiesMetadata protected_oe property

protected EntityPropertyMetadata[],GraphAware\Neo4j\OGM\Metadata $entityPropertiesMetadata
Résultat EntityPropertyMetadata[]

$reflectionClass protected_oe property

protected ReflectionClass $reflectionClass
Résultat ReflectionClass