Get the total job count since the node instantiation
public getTotalJobCount ( ) : integer | ||
return | integer |
/** * 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); }