for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Component\Metadata\Model\Custom;
use Sylius\Component\Metadata\Model\AbstractMetadata;
use Sylius\Component\Metadata\Model\Twitter\CardInterface;
/**
* @author Kamil Kokot <[email protected]>
class PageMetadata extends AbstractMetadata implements PageMetadataInterface
{
* @var string
protected $title;
protected $description;
* @var string[]
protected $keywords = [];
protected $charset = 'UTF-8';
* @var CardInterface
protected $twitter;
* {@inheritdoc}
public function getTitle()
return $this->title;
}
public function setTitle($title)
$this->title = $title;
public function getDescription()
return $this->description;
public function setDescription($description)
$this->description = $description;
public function getKeywords()
return $this->keywords;
public function setKeywords(array $keywords)
$this->keywords = $keywords;
public function getCharset()
return $this->charset;
public function setCharset($charset)
$this->charset = $charset;
public function getTwitter()
return $this->twitter;
public function setTwitter(CardInterface $twitter = null)
$this->twitter = $twitter;