private function routable() : bool
  {
    $routesFolder = config('app.dir') . 'routes' . DIRECTORY_SEPARATOR;

    if (!file_exists($routesFolder . 'api.php' )) {
      $this->exception('Could not find api routes.');
      return false;
    }

    if (!file_exists($routesFolder . 'web.php' )) {
      $this->exception('Could not find web routes.');
      return false;
    }

    return true;
  }
private function routable() : bool
  {
    $routesFolder = config('app.dir') . 'routes' . DIRECTORY_SEPARATOR;

    if (!file_exists($routesFolder . 'api.php' )) {
      $this->exception('Could not find api routes.');
      return false;
    }

    if (!file_exists($routesFolder . 'web.php' )) {
      $this->exception('Could not find web routes.');
      return false;
    }

    return true;
  }
private function routable ( ) : bool { $ routesFolder = config ( 'app.dir' ) . 'routes' . DIRECTORY_SEPARATOR ; if ( ! file_exists ( $ routesFolder . 'api.php' ) ) { $ this -> exception ( 'Could not find api routes.' ) ; return false ; } if ( ! file_exists ( $ routesFolder . 'web.php' ) ) { $ this -> exception ( 'Could not find web routes.' ) ; return false ; } return true ; }
Check if routes can be used

@return bool
Check if routes can be used