eZ\Publish\Core\REST\Server\Controller\ObjectState::loadObjectStates PHP Метод

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

Returns a list of all object states of the given group.
public loadObjectStates ( $objectStateGroupId ) : ObjectStateList
$objectStateGroupId
Результат eZ\Publish\Core\REST\Server\Values\ObjectStateList
    public function loadObjectStates($objectStateGroupId)
    {
        $objectStateGroup = $this->objectStateService->loadObjectStateGroup($objectStateGroupId);
        return new Values\ObjectStateList($this->objectStateService->loadObjectStates($objectStateGroup), $objectStateGroup->id);
    }