for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silverback\ApiComponentBundle\Entity\Component\Feature\TextList;
use ApiPlatform\Core\Annotation\ApiResource;
use Doctrine\ORM\Mapping as ORM;
use Silverback\ApiComponentBundle\Entity\Component\Feature\AbstractFeature;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* Class FeatureTextList
* @package Silverback\ApiComponentBundle\Entity\Component\FeatureList
* @author Daniel West <[email protected]>
* @ApiResource(shortName="component/feature_text_lists")
* @ORM\Entity()
*/
class FeatureTextList extends AbstractFeature
{
* @Groups({"component", "content"})
* @var null|string
protected $title;
* @return null|string
public function getTitle(): ?string
return $this->title;
}
* @param null|string $title
public function setTitle(?string $title): void
$this->title = $title;