for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silverback\ApiComponentBundle\Entity\Component\Feature\Stacked;
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 FeatureStacked
* @package Silverback\ApiComponentBundle\Entity\Component\FeatureMedia
* @author Daniel West <[email protected]>
* @ApiResource(shortName="component/feature_stacked")
* @ORM\Entity()
*/
class FeatureStacked extends AbstractFeature
{
* @Groups({"component", "content"})
* @var bool
protected $reverse = false;
* @return bool
public function isReverse(): bool
return $this->reverse;
}
* @param bool $reverse
public function setReverse(bool $reverse): void
$this->reverse = $reverse;