/** * Returns the number of objects which are in this state. * * @param \eZ\Publish\API\Repository\Values\ObjectState\ObjectState $objectState * * @return int */ public function getContentCount(ObjectState $objectState) { return $this->service->getContentCount($objectState); }