EntityFactory
Table of Contents
Methods
- createEntity() : AbstractEntity
- Return proxy object, to access entity, associated with the call.
Methods
createEntity()
Return proxy object, to access entity, associated with the call.
public
static createEntity(Call $call, string $entityType, int $entityId) : AbstractEntity
Parameters
- $call : Call
-
The call object.
- $entityType : string
-
Type of the associated entity.
- $entityId : int
-
Id of the associated entity.