src/Jobs/EsiBase.php
public function eseye()
    {

        if ($this->client)
            return $this->client;

        $this->client = app('esi-client');

        if (is_null($this->token))
            return $this->client = $this->client->get();

        return $this->client = $this->client->get(new EsiAuthentication([
            'refresh_token' => $this->token->refresh_token,
            'access_token'  => $this->token->token,
            'token_expires' => $this->token->expires_on,
            'scopes'        => $this->token->scopes,
        ]));
    }
public function eseye()
    {

        if ($this->client)
            return $this->client;

        $this->client = app('esi-client');

        if (is_null($this->token))
            return $this->client = $this->client->get();

        return $this->client = $this->client->get(new EsiAuthentication([
            'refresh_token' => $this->token->refresh_token,
            'access_token'  => $this->token->token,
            'token_expires' => $this->token->expires_on,
            'scopes'        => $this->token->scopes,
        ]));
    }
public function eseye ( ) { if ( $ this -> client ) return $ this -> client ; $ this -> client = app ( 'esi-client' ) ; if ( is_null ( $ this -> token ) ) return $ this -> client = $ this -> client -> get ( ) ; return $ this -> client = $ this -> client -> get ( new EsiAuthentication ( [ 'refresh_token' => $ this -> token -> refresh_token , 'access_token' => $ this -> token -> token , 'token_expires' => $ this -> token -> expires_on , 'scopes' => $ this -> token -> scopes , ] ) ) ; }
Get an instance of Eseye to use for this job.

@return \Seat\Eseye\Eseye
@throws \Seat\Eseye\Exceptions\InvalidContainerDataException
Get an instance of Eseye to use for this job .