for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SeoHelper\MetaData;
/**
* @method BaseMetaData addOgTitle(string $ogTitle)
* @method BaseMetaData setOgTitle(string $ogTitle)
* @method BaseMetaData resetOgTitle(string|null $ogTitle = null)
* @method BaseMetaData addOgDescription(string $ogDescription)
* @method BaseMetaData setOgDescription(string $ogDescription)
* @method BaseMetaData resetOgDescription(string|null $ogDescription = null)
* @method BaseMetaData setOgType(string $ogType)
* @method BaseMetaData setOgUrl(string $ogUrl)
* @method BaseMetaData addOgImage(string $image)
* @method BaseMetaData setOgImage(string $image)
* @method BaseMetaData resetOgImage(string|null $image = null)
* @method BaseMetaData setFbAdmins(string $fbAdmins)
*/
trait Facebook
{
* @param string $key
* @param string|array $value
abstract public function set($key, $value);
* @param string|null $key
abstract public function get($key = null);
public function setOgSiteName($siteName)
return $this->set('og:site_name', $siteName);
}
public function getOgSiteName()
return $this->get('og:site_name');