I'm trying to recreate this line from a controller in a PHPunit test in laravel 5. $routes = $this-...
Found it $router = $this->getRouter()->getRoutes(); Works, just needed to add this function t...
Just a wild guess. But what I notice is that the your function retrieveByToken isn't using the same...
The Laravel portal for problem solving, knowledge sharing and community building.
The community