PHP Класс FactoryGirl\Provider\Doctrine\EntityDef

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( EntityManager $em, $name, $type, array $fieldDefs, array $config )
getConfig ( ) : array Returns the extra configuration array of the entity definition.
getEntityMetadata ( ) : Doctrine\ORM\Mapping\ClassMetadata Returns the Doctrine metadata for the entity to be created.
getEntityType ( ) : string Returns the fully qualified name of the entity class.
getFieldDefs ( ) Returns the fielde definition callbacks.
getName ( ) : string Returns the name of the entity definition.

Приватные методы

Метод Описание
defaultDefsFromMetadata ( )
ensureInvokable ( $f )
normalizeFieldDef ( $def )
readFieldDefs ( array $params )

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

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

public __construct ( EntityManager $em, $name, $type, array $fieldDefs, array $config )
$em Doctrine\ORM\EntityManager
$fieldDefs array
$config array

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

Returns the extra configuration array of the entity definition.
public getConfig ( ) : array
Результат array

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

Returns the Doctrine metadata for the entity to be created.
public getEntityMetadata ( ) : Doctrine\ORM\Mapping\ClassMetadata
Результат Doctrine\ORM\Mapping\ClassMetadata

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

Returns the fully qualified name of the entity class.
public getEntityType ( ) : string
Результат string

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

Returns the fielde definition callbacks.
public getFieldDefs ( )

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

Returns the name of the entity definition.
public getName ( ) : string
Результат string