for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silverback\ApiComponentBundle\Entity\Content\Component\Navigation\Menu;
use Doctrine\ORM\Mapping as ORM;
use Silverback\ApiComponentBundle\Entity\Content\Component\Navigation\AbstractNavigationItem;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* Class MenuItem
* @package Silverback\ApiComponentBundle\Entity\Content\Component\Navigation\Menu
* @author Daniel West <[email protected]>
* @ORM\Entity()
*/
class MenuItem extends AbstractNavigationItem
{
* @ORM\Column(type="boolean", nullable=false)
* @Groups({"content", "component"})
* @var bool
private $menuLabel = false;
* @return bool
public function isMenuLabel(): bool
return $this->menuLabel;
}
* @param bool $menuLabel
public function setMenuLabel(bool $menuLabel): void
$this->menuLabel = $menuLabel;