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');

    }
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');

    }
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' ) ; }
Check if access to the EVE API OK.
Check if access to the EVE API OK .