AirLay backend

MilestonesCollection extends BaseCollection
in package

Table of Contents

$objectType  : string
__construct()  : mixed
calcMaxMilestoneNumber()  : int
deleteComment()  : void
findByIdAndOrganizationId()  : MilestoneEntity|null
findByIdAndOrganizationIdAndProjectId()  : MilestoneEntity|null
findComments()  : array<string|int, mixed>
hasByIdAndOrganizationId()  : bool
removeDataSetId()  : void
removeIssueFromMilestone()  : void

Properties

$objectType

protected string $objectType = \Airlay\Library\Entities\MilestoneEntity::class

Methods

calcMaxMilestoneNumber()

public calcMaxMilestoneNumber(ObjectId $organizationId) : int
Parameters
$organizationId : ObjectId
Return values
int —

deleteComment()

public deleteComment(ObjectId $commentId) : void
Parameters
$commentId : ObjectId
Return values
void —

findByIdAndOrganizationIdAndProjectId()

public findByIdAndOrganizationIdAndProjectId(ObjectId $id, ObjectId $organizationId, ObjectId $projectId) : MilestoneEntity|null
Parameters
$id : ObjectId
$organizationId : ObjectId
$projectId : ObjectId
Return values
MilestoneEntity|null —

findComments()

public findComments(ObjectId $id[, int|null $skip = null ][, int|null $limit = null ]) : array<string|int, mixed>
Parameters
$id : ObjectId
$skip : int|null = null
$limit : int|null = null
Return values
array<string|int, mixed> —

hasByIdAndOrganizationId()

public hasByIdAndOrganizationId(ObjectId $id, ObjectId $organizationId) : bool
Parameters
$id : ObjectId
$organizationId : ObjectId
Return values
bool —

removeDataSetId()

public removeDataSetId(ObjectId $dataSetId) : void
Parameters
$dataSetId : ObjectId
Return values
void —

removeIssueFromMilestone()

public removeIssueFromMilestone(ObjectId $id, ObjectId $issueId) : void
Parameters
$id : ObjectId
$issueId : ObjectId
Return values
void —

Search results