Arcanedev\SeoHelper\Entities\MetaCollection::add PHP Method

add() public method

Add a meta to collection.
public add ( string $name, string $content ) : MetaCollection
$name string
$content string
return MetaCollection
    public function add($name, $content)
    {
        $meta = Meta::make($name, $content);
        if ($meta->isValid() && !$this->isIgnored($name)) {
            $this->put($meta->key(), $meta);
        }
        return $this;
    }
MetaCollection