/**
  * Get the addon routes.
  *
  * @return array
  */
 public function getRoutes()
 {
     $routes = [];
     foreach (glob($this->addon->getPath('resources/routes/*')) as $include) {
         $include = (require $include);
         if (!is_array($include)) {
             continue;
         }
         $routes = array_merge($include, $routes);
     }
     return array_merge($this->routes, $routes);
 }