class ObjectBuilder (View source)

Properties

protected $attributeTypeFactory
protected $entity
protected $entityManager
protected $generator

Methods

__construct(AttributeKeyHandleGenerator $generator, EntityManagerInterface $entityManager, TypeFactory $attributeTypeFactory)

No description

EntityManagerInterface
getEntityManager()

No description

getEntity()

No description

createObject($name)

No description

__call($method, $arguments)

No description

save()

No description

buildForm($formName)

No description

buildAssociation()

No description

addAttribute($type_handle, $name, $handle = null, Settings $settings = null)

No description

getObject()

No description

mixed
buildObject()

No description

Details

TypeFactory getAttributeTypeFactory()

Return Value

TypeFactory

__construct(AttributeKeyHandleGenerator $generator, EntityManagerInterface $entityManager, TypeFactory $attributeTypeFactory)

Parameters

AttributeKeyHandleGenerator $generator
EntityManagerInterface $entityManager
TypeFactory $attributeTypeFactory

EntityManagerInterface getEntityManager()

Return Value

EntityManagerInterface

Entity getEntity()

Return Value

Entity

createObject($name)

Parameters

$name

__call($method, $arguments)

Parameters

$method
$arguments

save()

buildForm($formName)

Parameters

$formName

buildAssociation()

addAttribute($type_handle, $name, $handle = null, Settings $settings = null)

Parameters

$type_handle
$name
$handle
Settings $settings

getObject()

mixed buildObject()

Return Value

mixed