Task extends EntityCopier
Table of Contents
Methods
- __construct() : mixed
- addEntityToCopy() : mixed
- Adding entities to be copied later by the parent.
- copy() : Result
- Copies entity.
- getMapIdsByImplementer() : array<string|int, mixed>
- Returns the ids map of result by name implementer.
- getMapIdsCopiedEntity() : array<string|int, mixed>
- Returns the ids map of the parent copied entity.
Methods
__construct()
public
__construct(Task $implementer) : mixed
Parameters
- $implementer : Task
addEntityToCopy()
Adding entities to be copied later by the parent.
public
addEntityToCopy(Copyable $entity) : mixed
Parameters
- $entity : Copyable
copy()
Copies entity.
public
copy(ContainerCollection $containerCollection) : Result
Parameters
- $containerCollection : ContainerCollection
Return values
ResultgetMapIdsByImplementer()
Returns the ids map of result by name implementer.
public
getMapIdsByImplementer(string $implementerName, array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $implementerName : string
-
Implementer name.
- $data : array<string|int, mixed>
-
Result list.
Return values
array<string|int, mixed>getMapIdsCopiedEntity()
Returns the ids map of the parent copied entity.
public
getMapIdsCopiedEntity() : array<string|int, mixed>