public static function make($name, $content, $propertyName = 'name', $prefix = '') { return new self($name, $content, $propertyName, $prefix); }
/** * Add a meta to collection. * * @param string $name * @param string $content * * @return \Arcanedev\SeoHelper\Entities\MetaCollection */ public function add($name, $content) { $meta = Meta::make($name, $content); if ($meta->isValid() && !$this->isIgnored($name)) { $this->put($meta->key(), $meta); } return $this; }