for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file was created by the developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* another great project.
* You can find more information about us on https://bitbag.shop and write us
* an email on [email protected].
*/
declare(strict_types=1);
namespace BitBag\SyliusCmsPlugin\Entity;
use Sylius\Component\Resource\Model\AbstractTranslation;
* @author Mikołaj Król <[email protected]>
* @author Patryk Drapik <[email protected]>
class PageTranslation extends AbstractTranslation implements PageTranslationInterface
{
* @var int
protected $id;
* @var null|string
protected $slug;
protected $name;
protected $content;
protected $metaKeywords;
protected $metaDescription;
* {@inheritdoc}
public function getId(): ?int
return $this->id;
}
public function getContent(): ?string
return $this->content;
public function setContent(?string $content): void
$this->content = $content;
public function getSlug(): ?string
return $this->slug;
public function setSlug(?string $slug): void
$this->slug = $slug;
public function getName(): ?string
return $this->name;
public function setName(?string $name): void
$this->name = $name;
public function getMetaKeywords(): ?string
return $this->metaKeywords;
public function setMetaKeywords(?string $metaKeywords): void
$this->metaKeywords = $metaKeywords;
public function getMetaDescription(): ?string
return $this->metaDescription;
public function setMetaDescription(?string $metaDescription): void
$this->metaDescription = $metaDescription;