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\Core\Model\ImageInterface;
use Sylius\Component\Resource\Model\AbstractTranslation;
* @author Patryk Drapik <[email protected]>
class BlockTranslation extends AbstractTranslation implements BlockTranslationInterface
{
* @var int
protected $id;
* @var null|string
protected $name = null;
protected $content;
* @var null|ImageInterface
protected $image;
protected $link;
* {@inheritdoc}
public function getName(): ?string
return $this->name;
}
public function setName(?string $name): void
$this->name = $name;
public function getContent(): ?string
return $this->content;
public function setContent(?string $content): void
$this->content = $content;
public function getId(): ?int
return $this->id;
public function getImage(): ?ImageInterface
return $this->image;
public function setImage(?ImageInterface $image): void
$image->setOwner($this);
$this->image = $image;
public function getLink(): ?string
return $this->link;
public function setLink(?string $link): void
$this->link = $link;