addMany() public method

Add many meta tags.
public addMany ( array $metas ) : self
$metas array
return self
示例#1
0
 /**
  * Add many metas to the card.
  *
  * @param  array  $metas
  *
  * @return \Arcanedev\SeoHelper\Entities\Twitter\Card
  */
 public function addMetas(array $metas)
 {
     $this->metas->addMany($metas);
     return $this;
 }
示例#2
0
 /**
  * Add many open graph properties.
  *
  * @param  array  $properties
  *
  * @return \Arcanedev\SeoHelper\Entities\OpenGraph\Graph
  */
 public function addProperties(array $properties)
 {
     $this->metas->addMany($properties);
     return $this;
 }