for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silverback\ApiComponentBundle\Entity\Component\Navigation\NavBar;
use Doctrine\ORM\Mapping as ORM;
use Silverback\ApiComponentBundle\Entity\Component\Navigation\AbstractNavigation;
use Silverback\ApiComponentBundle\Entity\Content\ComponentGroup\ComponentGroup;
/**
* @author Daniel West <[email protected]
* @ORM\Entity()
*/
class NavBar extends AbstractNavigation
{
public function __construct()
parent::__construct();
$this->addValidComponent(NavBarItem::class);
$this->addComponentGroup(new ComponentGroup());
}
public function onDeleteCascade(): bool
return true;