src/mako/gatekeeper/adapters/Adapter.php
public function createGroup(string $name, array $properties = []): Group
	{
		$properties =
		[
			'name' => $name,
		] + $properties;

		return $this->groupRepository->createGroup($properties);
	}
public function createGroup(string $name, array $properties = []): Group
	{
		$properties =
		[
			'name' => $name,
		] + $properties;

		return $this->groupRepository->createGroup($properties);
	}
public function createGroup ( string $ name , array $ properties = [ ] ) : Group { $ properties = [ 'name' => $ name , ] + $ properties ; return $ this -> groupRepository -> createGroup ( $ properties ) ; }
Creates a new group and returns the group object.

@param  string                                $name       Group name
@param  array                                 $properties Additional group properties
@return \mako\gatekeeper\entities\group\Group
Creates a new group and returns the group object .