@param array $group

@return void
552968
protected function configureParameters(array $group)
    {
        foreach ($group as $name => $value)
        {
            $this->parameter($name, $value);
        }
    }
1374510
public function addImplicitGroupName($group)
    {
        if (\in_array(self::DEFAULT_GROUP, $this->groups) && !\in_array($group, $this->groups)) {
            $this->groups[] = $group;
        }
    }
380336
public function retractFrom($group): void
    {
        $group = $this->resolveGroup($group);

        $this->groups()->detach($group);
    }
650835
public function update($group)
    {
        if (is_string($group)) {
            $group = $this->groupFactory->createForPlayer($group);
        } else {
            if (is_array($group)) {
                $group = $this->groupFactory->createForPlayers($group);
            }
        }

        $ml = $this->guiHandler->getManialink($group, $this);
        if ($ml) {
            $this->actionFactory->destroyNotPermanentActions($ml);
            if ($ml instanceof Window) {
                $ml->busyCounter += 1;

                if ($ml->isBusy && $ml->busyCounter > 1) {
                    $ml->setBusy(false);
                }
            }
            $this->updateContent($ml);
            $this->guiHandler->addToDisplay($ml, $this);
        }
    }
831117
protected function bindLevel($group, $data)
	{
		// Ensure the input data is an array.
		settype($data, 'array');

		// Process the input data.
		foreach ($data as $k => $v)
		{
			if ($this->findField($k, $group))
			{
				// If the field exists set the value.
				$this->data->set($group . '.' . $k, $v);
			}
			elseif (is_object($v) || Arr::isAssociative($v))
			{
				// If the value is an object or an associative array, hand it off to the recursive bind level method
				$this->bindLevel($group . '.' . $k, $v);
			}
		}
	}
1368478
public function parse($group)
    {
        $this->setId($group['id']);
        $this->setName($group['name']);
        $this->setDescription($group['description']);
        $this->setType($group['type']);
        if (isset($group['primaryColour'])) {
            $this->setPrimaryColour($group['primaryColour']);
        }
        if (isset($group['secondaryColour'])) {
            $this->setSecondaryColour($group['secondaryColour']);
        }
        if (isset($group['badgeCode'])) {
            $this->setBadgeCode($group['badgeCode']);
        }
        if (isset($group['roomId'])) {
            $this->setRoomId($group['roomId']);
        }
        if (isset($group['isAdmin'])) {
            $this->setIsAdmin($group['isAdmin']);
        }
    }
394137
protected function turnOnChildSelectionIfNeeded(&$group)
    {
        if ($group['selected'] == true) {
            foreach ($group['subjects'] as &$subject) {
                $subject['selected'] = true;
                if ($subject['subjects']) {
                    $this->turnOnChildSelectionIfNeeded($subject);
                }
            }
        }
    }
1084736
public void onItemGroup(ItemGroup<?> group) {
        for (Item i : group.getItems())
            if (i.hasPermission(Item.READ))
                onItem(i);
    }
1232792
private function renderGroup(array $group)
    {
        if (empty($group)) {
            return '';
        }
        if ($this->groupType === self::GROUP_TYPE_EACH) {
            return implode(PHP_EOL, array_map(function ($namespace) {
                return 'use ' . $namespace . ';';
            }, $group));
        } elseif ($this->groupType === self::GROUP_TYPE_ONE) {
            $group = implode(',' . PHP_EOL . '    ', $group);

            return 'use ' . $group . ';';
        }
    }
1178368
private function processGroups(): void
    {
        // Call the $group by reference because in the case : group of group the size of the array is modified because a new group is added in the group() function.
        foreach ($this->groups as $key => &$group) {
            unset($this->groups[$key]);
            $group();
            //array_pop($this->groups);
        }
    }
809824
public function setGroups(array $groups) {
		foreach ($groups as $title => $path) {
			$this->setGroup($title, $path);
		}
	}
441978
public function deleteServiceGroup($group)
    {
        $filename = $this->getConfigFilename($group);
        $this->getFilesystem()->remove($filename);

        // Unlike normal arrays, unset() will throw errors here if the key
        // doesn't exist.
        if (isset($this[$group])) {
            unset($this[$group]);
        }

        unset($this->removed[$group]);
    }
56076
public function addGrouping( $grouping )
	{
		if( is_array( $grouping ) )
			return $this->addGroupings( $grouping );
		if( in_array( $grouping, $this->groupings ) )
			return FALSE;
		$this->groupings[] = $grouping;
		return TRUE;
	}
1126456
public function handleGlobalOptions(string $group = 'default'): void
	{
		if(isset($this->options[$group]))
		{
			foreach($this->options[$group] as $name => $option)
			{
				$input = $this->input->getArgument($name);

				if(!empty($input))
				{
					$handler = $option['handler'];

					$this->container->call($handler, ['option' => $input]);
				}
			}
		}
	}
344131
public function setGroup($group)
    {
        if (isset($this->options['group']) && $this->options['group']) {
            $group = $this->options['group'] . '/' . $group;
        }
        return $this->setOption('group', $group);
    }
916099
protected function loadGroupConfig($group)
    {
        // data from files
        $res = $this->loader->load($group);

        // mark pool dirty
        if (count($res)) {
            $this->setPoolDirty();
        }

        $config = [];
        foreach($res as $grp => $grpData) {
            if (!isset($config[$grp])) {
                $config[$grp] = [];
            }
            foreach ($grpData as $data) {
                $config[$grp] = array_replace_recursive(
                    $config[$grp], $this->fixValue($data)
                );
            }
        }

        // set the whole pool
        if (null === $group) {
            $this->pool = $config;

        // set a group
        } else {
            $this->pool[$group] = $config[$group];
        }
    }
1319251
protected static function isValidGroupId($group)
    {
        if (empty($group)) {
            echo new \Exception('group('.var_export($group, true).') empty');
            return false;
        }
        return true;
    }