for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silverback\ApiComponentBundle\Factory\Entity\Component\Navigation\NavBar;
use Silverback\ApiComponentBundle\Entity\Component\Navigation\NavBar\NavBar;
use Silverback\ApiComponentBundle\Factory\Entity\Component\AbstractComponentFactory;
/**
* @author Daniel West <[email protected]>
*/
final class NavBarFactory extends AbstractComponentFactory
{
* @inheritdoc
public function create(?array $ops = null): NavBar
$component = new NavBar();
$this->init($component, $ops);
$this->validate($component);
return $component;
}