for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WebCMS\Entity;
use Doctrine\ORM\Mapping as orm;
/**
* Basic SEO entity which contains basic SEO parameters.
* @orm\mappedSuperclass
* @author Tomáš Voslař <tomas.voslar at webcook.cz>
*/
abstract class Seo extends Entity
{
* @orm\Column(type="boolean", nullable=true)
private $ownSeo;
* @orm\Column(type="text", nullable=true)
private $metaTitle;
private $metaDescription;
private $metaKeywords;
/* TODO */
private $url;
public function getMetaTitle()
return $this->metaTitle;
}
* @param string $metaTitle
public function setMetaTitle($metaTitle)
$this->metaTitle = $metaTitle;
public function getMetaDescription()
return $this->metaDescription;
* @param string $metaDescription
public function setMetaDescription($metaDescription)
$this->metaDescription = $metaDescription;
public function getMetaKeywords()
return $this->metaKeywords;
* @param string $metaKeywords
public function setMetaKeywords($metaKeywords)
$this->metaKeywords = $metaKeywords;