PHP Class GraphAware\Neo4j\OGM\Query\ResultMapping

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

Protected Properties

Свойство Type Description
$mappings array
$rootEntity string
$rootIdentifier string

Méthodes publiques

Méthode Description
__construct ( string $rootEntity, string $rootIdentifier )
addMapping ( string $identifier, string $class, $property )
build ( string $rootEntity, string $rootIdentifier ) : ResultMapping
getMappings ( ) : array
getRootEntity ( ) : string
getRootIdentifier ( ) : string

Method Details

__construct() public méthode

public __construct ( string $rootEntity, string $rootIdentifier )
$rootEntity string
$rootIdentifier string

addMapping() public méthode

public addMapping ( string $identifier, string $class, $property )
$identifier string
$class string

build() public static méthode

public static build ( string $rootEntity, string $rootIdentifier ) : ResultMapping
$rootEntity string
$rootIdentifier string
Résultat ResultMapping

getMappings() public méthode

public getMappings ( ) : array
Résultat array

getRootEntity() public méthode

public getRootEntity ( ) : string
Résultat string

getRootIdentifier() public méthode

public getRootIdentifier ( ) : string
Résultat string

Property Details

$mappings protected_oe property

protected array $mappings
Résultat array

$rootEntity protected_oe property

protected string $rootEntity
Résultat string

$rootIdentifier protected_oe property

protected string $rootIdentifier
Résultat string