eZ\Publish\Core\SignalSlot\ObjectStateService::loadObjectStates PHP Method

loadObjectStates() public method

This method returns the ordered list of object states of a group.
public loadObjectStates ( eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup $objectStateGroup ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectState[]
$objectStateGroup eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
return eZ\Publish\API\Repository\Values\ObjectState\ObjectState[]
    public function loadObjectStates(ObjectStateGroup $objectStateGroup)
    {
        return $this->service->loadObjectStates($objectStateGroup);
    }