public function removeGroup(GroupInterface $group): void
    {
        if (!$group instanceof Production) {
            throw new Exception('Group type not supported.');
        }
        $this->groups->removeElement($group);
    }
public function removeGroup(GroupInterface $group): void
    {
        if (!$group instanceof Production) {
            throw new Exception('Group type not supported.');
        }
        $this->groups->removeElement($group);
    }
public function removeGroup ( GroupInterface $ group ) : void { if ( ! $ group instanceof Production ) { throw new Exception ( 'Group type not supported.' ) ; } $ this -> groups -> removeElement ( $ group ) ; }
Remove group.

@param Production $group The group to remove.

@return void
Remove group .