PHP Класс GraphAware\Neo4j\OGM\Query\ResultMapping

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$mappings array
$rootEntity string
$rootIdentifier string

Открытые методы

Метод Описание
__construct ( string $rootEntity, string $rootIdentifier )
addMapping ( string $identifier, string $class, $property )
build ( string $rootEntity, string $rootIdentifier ) : ResultMapping
getMappings ( ) : array
getRootEntity ( ) : string
getRootIdentifier ( ) : string

Описание методов

__construct() публичный Метод

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

addMapping() публичный Метод

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

build() публичный статический Метод

public static build ( string $rootEntity, string $rootIdentifier ) : ResultMapping
$rootEntity string
$rootIdentifier string
Результат ResultMapping

getMappings() публичный Метод

public getMappings ( ) : array
Результат array

getRootEntity() публичный Метод

public getRootEntity ( ) : string
Результат string

getRootIdentifier() публичный Метод

public getRootIdentifier ( ) : string
Результат string

Описание свойств

$mappings защищенное свойство

protected array $mappings
Результат array

$rootEntity защищенное свойство

protected string $rootEntity
Результат string

$rootIdentifier защищенное свойство

protected string $rootIdentifier
Результат string