original_string: public function check_pheal()
      {
  
          $this->line(' * Checking ESI Access');
  
          $esi = app('esi-client')->get();
          $esi->setVersion('v1');
          Configuration::getInstance()->cache = NullCache::class;
  
          try {
  
              $result = $esi->invoke('get', '/status/');
              $this->info('Server Online Since: ' . $result->start_time);
              $this->info('Online Players: ' . $result->players);
  
          } catch (RequestFailedException $e) {
  
              $this->error('ESI does not appear to be available: ' . $e->getMessage());
          }
  
          $this->info('ESI appears to be OK');
  
      }
code: public function check_pheal()
      {
  
          $this->line(' * Checking ESI Access');
  
          $esi = app('esi-client')->get();
          $esi->setVersion('v1');
          Configuration::getInstance()->cache = NullCache::class;
  
          try {
  
              $result = $esi->invoke('get', '/status/');
              $this->info('Server Online Since: ' . $result->start_time);
              $this->info('Online Players: ' . $result->players);
  
          } catch (RequestFailedException $e) {
  
              $this->error('ESI does not appear to be available: ' . $e->getMessage());
          }
  
          $this->info('ESI appears to be OK');
  
      }
code_tokens: public function check_pheal ( ) { $ this -> line ( ' * Checking ESI Access' ) ; $ esi = app ( 'esi-client' ) -> get ( ) ; $ esi -> setVersion ( 'v1' ) ; Configuration :: getInstance ( ) -> cache = NullCache :: class ; try { $ result = $ esi -> invoke ( 'get' , '/status/' ) ; $ this -> info ( 'Server Online Since: ' . $ result -> start_time ) ; $ this -> info ( 'Online Players: ' . $ result -> players ) ; } catch ( RequestFailedException $ e ) { $ this -> error ( 'ESI does not appear to be available: ' . $ e -> getMessage ( ) ) ; } $ this -> info ( 'ESI appears to be OK' ) ; }
docstring: Check if access to the EVE API OK.
docstring_tokens: Check if access to the EVE API OK .