/**
* @param Backlog[] $backlogs
*
* @return int[]
*/
private function getPropertyIdsOfBacklog($backlogs) { $ids =
[];
foreach ($backlogs as $backlog) { $payload =
$backlog->
getPayload();
switch ($backlog->
getEvent()) { case ORMBacklogSubscriber::EVENT_PROPERTY_GROUP_DELETED:
case ORMBacklogSubscriber::EVENT_PROPERTY_GROUP_INSERTED:
case ORMBacklogSubscriber::EVENT_PROPERTY_GROUP_UPDATED:
$ids[] =
$payload['id'
];
break;
case ORMBacklogSubscriber::EVENT_PROPERTY_OPTION_DELETED:
case ORMBacklogSubscriber::EVENT_PROPERTY_OPTION_INSERTED:
case ORMBacklogSubscriber::EVENT_PROPERTY_OPTION_UPDATED:
$ids[] =
$payload['groupId'
];
break;
}