MigrateAddProjectEntity
extends Injectable
implements
AirlayCliDi
Interfaces, Classes, Traits and Enums
- AirlayCliDi
- Interface AirlayCliDi
Table of Contents
-
BASE_LABELS
= [['name' => 'open', 'color' => 'green', 'type' => 'status', 'state' => 'open', 'alias' => 'открыто'], ['name' => 'closed', 'color' => 'red', 'type' => 'status', 'state' => 'closed', 'alias' => 'закрыто'], ['name' => 'high', 'color' => 'red', 'type' => 'priority'], ['name' => 'medium', 'color' => 'orange', 'type' => 'priority'], ['name' => 'low', 'color' => 'green', 'type' => 'priority']]
-
migrate()
: void
-
addToAllGroups()
: void
-
createProject()
: void
BASE_LABELS
private
mixed
BASE_LABELS
= [['name' => 'open', 'color' => 'green', 'type' => 'status', 'state' => 'open', 'alias' => 'открыто'], ['name' => 'closed', 'color' => 'red', 'type' => 'status', 'state' => 'closed', 'alias' => 'закрыто'], ['name' => 'high', 'color' => 'red', 'type' => 'priority'], ['name' => 'medium', 'color' => 'orange', 'type' => 'priority'], ['name' => 'low', 'color' => 'green', 'type' => 'priority']]
migrate()
public
migrate() : void
Return values
void
—
addToAllGroups()
private
addToAllGroups(ObjectId $organizationId, ObjectId $projectId) : void
Parameters
-
$organizationId
: ObjectId
-
-
$projectId
: ObjectId
-
Return values
void
—
createProject()
private
createProject(ObjectId $organizationId) : void
Parameters
-
$organizationId
: ObjectId
-
Return values
void
—