src/A1comms/GaeSupportLaravel/Queue/GaeQueue.php
/**
     * Marshal a push queue request and fire the job.
     *
     * @return \Illuminate\Http\Response
     */
Marshal a push queue request and fire the job.
@return \Illuminate\Http\Response
Marshal a push queue request and fire the job . @return \ Illuminate \ Http \ Response
public function marshal()
    {
        try {
            $job = $this->marshalPushedJob();
        } catch (\Exception $e) {
            Log::warning(
                'Marshalling Queue Request: Invalid job. ' . $e->getMessage(),
                [
                    'exception' => $e,
                ]
            );
            return new Response('OK');
        }
        if (isset($job->id)) {
            $this->createPushedGaeJob($job)->fire();
        } else {
            Log::warning('Marshalling Queue Request: No GAE header supplied.');
        }
        return new Response('OK');
    }
public function marshal ( ) { try { $ job = $ this -> marshalPushedJob ( ) ; } catch ( \ Exception $ e ) { Log :: warning ( 'Marshalling Queue Request: Invalid job. ' . $ e -> getMessage ( ) , [ 'exception' => $ e , ] ) ; return new Response ( 'OK' ) ; } if ( isset ( $ job -> id ) ) { $ this -> createPushedGaeJob ( $ job ) -> fire ( ) ; } else { Log :: warning ( 'Marshalling Queue Request: No GAE header supplied.' ) ; } return new Response ( 'OK' ) ; }
Marshal a push queue request and fire the job.
Marshal a push queue request and fire the job .
// Ignore for security reasons! // So if we are being hacked // the hacker would think it went OK.