public function removeFromGrouping($type)
    {
        foreach ($this->groupForRender as $key => $typeToRender) {
            if ($type == $typeToRender) {
                unset($this->groupForRender[$key]);
            }
        }

        $this->groupForRender = array_values($this->groupForRender);

        return $this;
    }
public function removeFromGrouping($type)
    {
        foreach ($this->groupForRender as $key => $typeToRender) {
            if ($type == $typeToRender) {
                unset($this->groupForRender[$key]);
            }
        }

        $this->groupForRender = array_values($this->groupForRender);

        return $this;
    }
public function removeFromGrouping ( $ type ) { foreach ( $ this -> groupForRender as $ key => $ typeToRender ) { if ( $ type == $ typeToRender ) { unset ( $ this -> groupForRender [ $ key ] ) ; } } $ this -> groupForRender = array_values ( $ this -> groupForRender ) ; return $ this ; }
Removes type from rendering.

@param $type
@return \Krucas\Notification\NotificationsBag
Removes type from rendering .