public function onExpansionGroupDestroy(Group $group, $lastLogin)
    {
        if (isset($this->groups[$group->getName()])) {
            unset($this->groups[$group->getName()]);
        }
    }
public function onExpansionGroupDestroy(Group $group, $lastLogin)
    {
        if (isset($this->groups[$group->getName()])) {
            unset($this->groups[$group->getName()]);
        }
    }
public function onExpansionGroupDestroy ( Group $ group , $ lastLogin ) { if ( isset ( $ this -> groups [ $ group -> getName ( ) ] ) ) { unset ( $ this -> groups [ $ group -> getName ( ) ] ) ; } }
When a group is destyoed delete object.

@param Group $group
@param       $lastLogin
When a group is destyoed delete object .