Table of Contents
-
TYPE_MAP
= ['typeMap' => ['root' => 'array', 'document' => 'array']]
-
$mapper
: Mapper
-
$newOrganizationId
: ObjectId
-
$oldOrganizationId
: ObjectId
-
__construct()
: mixed
-
duplicate()
: void
-
copy()
: void
-
copyWithSet()
: void
-
copyDb()
: void
-
createPipeline()
: array<string|int, mixed>
TYPE_MAP
protected
mixed
TYPE_MAP
= ['typeMap' => ['root' => 'array', 'document' => 'array']]
$mapper
protected
Mapper
$mapper
$newOrganizationId
protected
ObjectId
$newOrganizationId
$oldOrganizationId
protected
ObjectId
$oldOrganizationId
__construct()
public
__construct(ObjectId $oldOrganizationId, ObjectId $newOrganizationId, Mapper $mapper) : mixed
Parameters
-
$oldOrganizationId
: ObjectId
-
-
$newOrganizationId
: ObjectId
-
-
$mapper
: Mapper
-
Return values
mixed
—
duplicate()
public
duplicate() : void
Return values
void
—
copy()
protected
copy(mixed $entity[, ObjectId|int|null $newId = null ]) : void
Parameters
-
$entity
: mixed
-
-
$newId
: ObjectId|int|null
= null
-
Return values
void
—
copyWithSet()
protected
copyWithSet(mixed $entity[, ObjectId|int|null $newId = null ]) : void
Parameters
-
$entity
: mixed
-
-
$newId
: ObjectId|int|null
= null
-
Return values
void
—
copyDb()
private
copyDb(ObjectId $oldDataSetId, ObjectId $dataSetId, string $type) : void
Parameters
-
$oldDataSetId
: ObjectId
-
-
$dataSetId
: ObjectId
-
-
$type
: string
-
Return values
void
—
createPipeline()
private
createPipeline(ObjectId $dataSetId, string $class[, string|null $type = null ]) : array<string|int, mixed>
Parameters
-
$dataSetId
: ObjectId
-
-
$class
: string
-
-
$type
: string|null
= null
-
Return values
array<string|int, mixed>
—