addJobCount() публичный Метод

Increase the node job counts by the given number
public addJobCount ( integer $jobsAdded )
$jobsAdded integer
Пример #1
0
 /**
  * Copy node stats from the old to the new node
  *
  * @param Node $oldNode
  * @param Node $newNode
  */
 private function copyNodeStats(Node $oldNode, Node $newNode)
 {
     $oldNodeJobCount = $oldNode->getTotalJobCount();
     $newNode->addJobCount($oldNodeJobCount);
 }