class ObjectManager (View source)

Properties

protected $entityManager
protected $app

Methods

__construct(Application $app, EntityManagerInterface $entityManager)

No description

getEntities($asObject = false)

No description

getList($entityHandle, $asObject = false)

No description

refresh($object)

No description

buildObject($handle, $plural_handle, $name, Package $pkg = null)

No description

buildEntry($entity)

No description

getEntry($entryID)

No description

deleteEntry($entryID)

No description

getObjectByID($entityID)

No description

getObjectByHandle($entityHandle)

No description

getEntityController(Entity $entity)

No description

Details

__construct(Application $app, EntityManagerInterface $entityManager)

Parameters

Application $app
EntityManagerInterface $entityManager

getEntities($asObject = false)

Parameters

$asObject

getList($entityHandle, $asObject = false)

Parameters

$entityHandle
$asObject

refresh($object)

Parameters

$object

buildObject($handle, $plural_handle, $name, Package $pkg = null)

Parameters

$handle
$plural_handle
$name
Package $pkg

buildEntry($entity)

Parameters

$entity

getEntry($entryID)

Parameters

$entryID

deleteEntry($entryID)

Parameters

$entryID

getObjectByID($entityID)

Parameters

$entityID

getObjectByHandle($entityHandle)

Parameters

$entityHandle

getEntityController(Entity $entity)

Parameters

Entity $entity