getData(); if (is_null($data)) { // Log return; } // processing $data = json_decode($data, true); print_r($data); Client::delete($job); } }