eZ\Publish\Core\REST\Client\UserService::newUserGroupCreateStruct PHP Method

newUserGroupCreateStruct() public method

Instantiate a user group create class.
public newUserGroupCreateStruct ( string $mainLanguageCode, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType = null ) : eZ\Publish\API\Repository\Values\User\UserGroupCreateStruct
$mainLanguageCode string The main language for the underlying content object
$contentType eZ\Publish\API\Repository\Values\ContentType\ContentType 5.x the content type for the underlying content object. In 4.x it is ignored and taken from the configuration
return eZ\Publish\API\Repository\Values\User\UserGroupCreateStruct
    public function newUserGroupCreateStruct($mainLanguageCode, $contentType = null)
    {
        throw new \Exception('@todo: Implement.');
    }