public getNodeCount ( ) : integer | ||
return | integer |
public function getNodeCount()
{
return $this->nodeDataRepository->countByWorkspace($this);
}
/** * Returns the number of unpublished nodes contained in the given workspace * * @param Workspace $workspace * @return integer * @api */ public function getUnpublishedNodesCount(Workspace $workspace) { return $workspace->getNodeCount() - 1; }