How to capture job queue details after completion in Laravel

Queue::after(function (JobProcessed $event) {
    $command = unserialize($event->data['data']['command']);
});