for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\AdminBundle\Admin\Routing;
class TabRouteBuilder implements TabRouteBuilderInterface
{
const VIEW = 'sulu_admin.tabs';
/**
* @var Route
private $route;
public function __construct(string $name, string $path)
$this->route = new Route($name, $path, static::VIEW);
}
public function getRoute(): Route
return clone $this->route;