protected function getRoutes() { $results = array(); foreach ($this->routes as $route) { $results[] = $this->getRouteInformation($route); } return array_filter($results); }