public function loadAllGroups($offset = 0, $limit = -1)
    {
        $data = $this->objectStateGateway->loadObjectStateGroupListData($offset, $limit);

        return $this->objectStateMapper->createObjectStateGroupListFromData($data);
    }
public function loadAllGroups($offset = 0, $limit = -1)
    {
        $data = $this->objectStateGateway->loadObjectStateGroupListData($offset, $limit);

        return $this->objectStateMapper->createObjectStateGroupListFromData($data);
    }
public function loadAllGroups ( $ offset = 0 , $ limit = - 1 ) { $ data = $ this -> objectStateGateway -> loadObjectStateGroupListData ( $ offset , $ limit ) ; return $ this -> objectStateMapper -> createObjectStateGroupListFromData ( $ data ) ; }
Loads all object state groups.

@param int $offset
@param int $limit

@return \eZ\Publish\SPI\Persistence\Content\ObjectState\Group[]
Loads all object state groups .