eZ\Publish\Core\SignalSlot\ObjectStateService::createObjectStateGroup PHP Метод

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

Creates a new object state group.
public createObjectStateGroup ( eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroupCreateStruct $objectStateGroupCreateStruct ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
$objectStateGroupCreateStruct eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroupCreateStruct
Результат eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
    public function createObjectStateGroup(ObjectStateGroupCreateStruct $objectStateGroupCreateStruct)
    {
        $returnValue = $this->service->createObjectStateGroup($objectStateGroupCreateStruct);
        $this->signalDispatcher->emit(new CreateObjectStateGroupSignal(array('objectStateGroupId' => $returnValue->id)));
        return $returnValue;
    }