public function remove($name)
    {
        unset($this->plugins[$name]);
        $this->names = array_keys($this->plugins);

        return $this;
    }
public function remove($name)
    {
        unset($this->plugins[$name]);
        $this->names = array_keys($this->plugins);

        return $this;
    }
public function remove ( $ name ) { unset ( $ this -> plugins [ $ name ] ) ; $ this -> names = array_keys ( $ this -> plugins ) ; return $ this ; }
Remove a plugin from the collection if it exists.

@param string $name The named plugin.
@return $this
Remove a plugin from the collection if it exists .