Loads an entity of this persister's mapped class as part of a single-valued association from another entity.
Signature
public function loadOneToOneEntity(array
$assoc,
$sourceEntity,
array
$identifier )
Parameters
$assoc
—
array
The association to load.
$sourceEntity
—
object
The entity that owns the association (not necessarily the "owning side").
$identifier
—
array
The identifier of the entity to load. Must be provided if the association to load represents the owning side, otherwise the identifier is derived from the $sourceEntity.
Returns
The loaded and managed entity instance or NULL if the entity can not be found.