for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file has been created by 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;
class MediaTranslation extends AbstractTranslation implements MediaTranslationInterface
{
/** @var int */
protected $id;
/** @var string */
protected $name;
protected $content;
protected $alt;
protected $link;
public function getId(): ?int
return $this->id;
}
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 getAlt(): ?string
return $this->alt;
public function setAlt(?string $alt): void
$this->alt = $alt;
public function getLink(): ?string
return $this->link;
public function setLink(?string $link): void
$this->link = $link;