src/bitExpert/Pathfinder/AbstractRouter.php
public function setRoutes(array $routes)
    {
        $this->routes = [];
        foreach ($routes as $route) {
            $this->addRoute($route);
        }
    }
public function setRoutes(array $routes)
    {
        $this->routes = [];
        foreach ($routes as $route) {
            $this->addRoute($route);
        }
    }
{@inheritdoc}