for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file was created by developers working at BitBag
* Do you need more information about us and what we do? Visit our https://bitbag.io website!
* We are hiring developers from all over the world. Join us and start your new, exciting adventure and become part of us: https://bitbag.io/career
*/
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|null */
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;