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\CmsPlugin\Entity;
use Sylius\Component\Resource\Model\AbstractTranslation;
* @author Mikołaj Król <[email protected]>
class FrequentlyAskedQuestionTranslation extends AbstractTranslation implements FrequentlyAskedQuestionTranslationInterface
{
* @var int
protected $id;
* @var null|string
protected $question;
protected $answer;
* {@inheritdoc}
public function getId(): ?int
return $this->id;
}
public function getQuestion(): ?string
return $this->question;
public function setQuestion(string $question): void
$this->question = $question;
public function getAnswer(): ?string
return $this->answer;
public function setAnswer(string $answer): void
$this->answer = $answer;