setGoogle() public method

Set Google Analytics code.
public setGoogle ( string $code ) : self
$code string
return self
コード例 #1
0
ファイル: SeoMeta.php プロジェクト: arcanedev/seo-helper
 /**
  * Set the Google Analytics code.
  *
  * @param  string  $code
  *
  * @return \Arcanedev\SeoHelper\SeoMeta
  */
 public function setGoogleAnalytics($code)
 {
     $this->analytics->setGoogle($code);
     return $this;
 }