public function removeGroup($group = null, $handle = null)
    {
        if (is_null($group)) {
            return $this->groups = [];
        }

        if (is_null($handle)) {
            unset($this->groups[$group]);

            return;
        }

        unset($this->groups[$group][$handle]);
    }
public function removeGroup($group = null, $handle = null)
    {
        if (is_null($group)) {
            return $this->groups = [];
        }

        if (is_null($handle)) {
            unset($this->groups[$group]);

            return;
        }

        unset($this->groups[$group][$handle]);
    }
public function removeGroup ( $ group = null , $ handle = null ) { if ( is_null ( $ group ) ) { return $ this -> groups = [ ] ; } if ( is_null ( $ handle ) ) { unset ( $ this -> groups [ $ group ] ) ; return ; } unset ( $ this -> groups [ $ group ] [ $ handle ] ) ; }
Remove a group asset, all of a groups assets, or all group assets.

@param string $group  Group name
@param string $handle Asset name

@return mixed Empty array or void
Remove a group asset all of a groups assets or all group assets .