public function registerEvents()
    {
        $job = & $this->job;

        Event::listen(Event::JOB_PERFORM, function ($event, $_job) use (&$job) {
            $job = $_job;
        });
    }
public function registerEvents()
    {
        $job = & $this->job;

        Event::listen(Event::JOB_PERFORM, function ($event, $_job) use (&$job) {
            $job = $_job;
        });
    }
public function registerEvents ( ) { $ job = & $ this -> job ; Event :: listen ( Event :: JOB_PERFORM , function ( $ event , $ _job ) use ( & $ job ) { $ job = $ _job ; } ) ; }
which outputs all the debugging logs
which outputs all the debugging logs