Sulu\Bundle\RouteBundle\Manager\RouteAlreadyCreatedException::__construct PHP Method

__construct() public method

public __construct ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity )
$entity Sulu\Bundle\RouteBundle\Model\RoutableInterface
    public function __construct(RoutableInterface $entity)
    {
        parent::__construct(sprintf('Route "%s" for entity of type "%s" and identifier "%s" has already been created.', $entity->getRoute()->getPath(), get_class($entity), $entity->getId()));
        $this->entity = $entity;
    }
RouteAlreadyCreatedException