<?php
namespace Cms\ModuleBundle\Entity;
use Cms\ModuleBundle\Model\ModuleDataEmbeddable;
use Doctrine\ORM\Mapping as ORM;
/**
* Class StandardMetadata
* @package Cms\ModuleBundle\Entity
*
* @ORM\Embeddable
*/
class StandardMetadata extends ModuleDataEmbeddable
{
/*
const ROBOTS = [
self::ROBOTS__NO_INDEX,
self::ROBOTS__NO_FOLLOW,
self::ROBOTS__NO_ARCHIVE,
self::ROBOTS__NO_SNIPPET,
self::ROBOTS__NO_IMAGE_INDEX,
];
const ROBOTS__NO_INDEX = 'noindex';
const ROBOTS__NO_FOLLOW = 'nofollow';
const ROBOTS__NO_ARCHIVE = 'noarchive';
const ROBOTS__NO_SNIPPET = 'nosnippet';
const ROBOTS__NO_IMAGE_INDEX = 'noimageindex';
*/
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = true
* )
*/
protected $title;
/**
* @var string
*
* @ORM\Column(
* type = "text",
* nullable = true
* )
*/
protected $description;
/**
* @var array
*
* @ORM\Column(
* type = "simple_array",
* nullable = true
* )
*/
protected $keywords;
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* nullable = true
* )
*/
protected $noIndex;
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* nullable = true
* )
*/
protected $noFollow;
/**
* @var array
*
* @ORM\Column(
* type = "simple_array",
* nullable = true
* )
*/
protected $robots;
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @return array
*/
public function getKeywords()
{
return $this->keywords;
}
/**
* @return bool
*/
public function getNoIndex()
{
return $this->noIndex;
}
/**
* @return bool
*/
public function getNoFollow()
{
return $this->noFollow;
}
/**
* @param string $value
* @return $this
*/
public function setTitle($value)
{
$this->title = $value;
return $this;
}
/**
* @param string $value
* @return $this
*/
public function setDescription($value)
{
$this->description = $value;
return $this;
}
/**
* @param array $value
* @return $this
*/
public function setKeywords(array $value = null)
{
$this->keywords = $value;
return $this;
}
/**
* @param bool $value
* @return $this
*/
public function setNoIndex($value)
{
$this->noIndex = $value;
return $this;
}
/**
* @param bool $value
* @return $this
*/
public function setNoFollow($value)
{
$this->noFollow = $value;
return $this;
}
/**
* @return array
*/
public function getRobots()
{
return $this->robots;
}
/**
* @param array $value
* @return $this
*/
public function setRobots(array $value)
{
$this->robots = $value;
return $this;
}
}