Arcanedev\SeoHelper\Contracts\Entities\OpenGraph::setPrefix PHP Method

setPrefix() public method

Set the open graph prefix.
public setPrefix ( string $prefix ) : self
$prefix string
return self
    public function setPrefix($prefix);

Usage Example

Example #1
0
 /**
  * Set the open graph prefix.
  *
  * @param  string  $prefix
  *
  * @return \Arcanedev\SeoHelper\SeoOpenGraph
  */
 public function setPrefix($prefix)
 {
     $this->openGraph->setPrefix($prefix);
     return $this;
 }