/home/techb158/ileadtechnology.com/vendor/artesaos/seotools/src/SEOTools
NameSizeModeActions
Contracts/-0755rm
Facades/-0755rm
Providers/-0755rm
Traits/-0755rm
JsonLd.php51850644editdlrm
JsonLdMulti.php35190644editdlrm
OpenGraph.php170210644editdlrm
SEOMeta.php116270644editdlrm
SEOTools.php28210644editdlrm
TwitterCards.php34900644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/artesaos/seotools/src/SEOTools/SEOTools.php (2821B)
metatags()->setTitle($title, $appendDefault); $this->opengraph()->setTitle($title); $this->twitter()->setTitle($title); $this->jsonLd()->setTitle($title); return $this; } /** * {@inheritdoc} */ public function setDescription($description) { $this->metatags()->setDescription($description); $this->opengraph()->setDescription($description); $this->twitter()->setDescription($description); $this->jsonLd()->setDescription($description); return $this; } /** * {@inheritdoc} */ public function setCanonical($url) { $this->metatags()->setCanonical($url); return $this; } /** * {@inheritdoc} */ public function addImages($urls) { if (is_array($urls)) { $this->opengraph()->addImages($urls); } else { $this->opengraph()->addImage($urls); } $this->twitter()->setImage($urls); $this->jsonLd()->addImage($urls); return $this; } /** * {@inheritdoc} */ public function getTitle($session = false) { if ($session) { return $this->metatags()->getTitleSession(); } return $this->metatags()->getTitle(); } /** * {@inheritdoc} */ public function generate($minify = false) { $html = $this->metatags()->generate(); $html .= PHP_EOL; $html .= $this->opengraph()->generate(); $html .= PHP_EOL; $html .= $this->twitter()->generate(); $html .= PHP_EOL; // if json ld multi is use don't show simple json ld $html .= $this->jsonLdMulti()->generate() ?? $this->jsonLd()->generate(); return ($minify) ? str_replace(PHP_EOL, '', $html) : $html; } }