public function forget(string $name) : self
    {
        foreach ($this->tags as $key => $tag) {
            if ($tag->name == $name) {
                unset($this->tags[$key]);
            }
        }

        return $this;
    }
public function forget(string $name) : self
    {
        foreach ($this->tags as $key => $tag) {
            if ($tag->name == $name) {
                unset($this->tags[$key]);
            }
        }

        return $this;
    }
public function forget ( string $ name ) : self { foreach ( $ this -> tags as $ key => $ tag ) { if ( $ tag -> name == $ name ) { unset ( $ this -> tags [ $ key ] ) ; } } return $ this ; }
Remove all tags with the given name

@param  string  $name
@return OpenGraph
Remove all tags with the given name