public function process(GroupInterface $group = null)
{
if (null === $group) {
$group = $this->groupManager->createGroup('');
}
$this->setData($group);
if ('POST' == $this->request->getMethod()) {
$this->bind($this->request);
if ($this->isValid()) {
$this->groupManager->updateGroup($group);
return true;
}
}
return false;
}