Module/JobCollection.php
public function toArray()
    {
        $jobs = array();

        foreach ($this->workerJobs as $job) {

            $jobs[] = $job->toArray();
        }

        return $jobs;
    }
public function toArray()
    {
        $jobs = array();

        foreach ($this->workerJobs as $job) {

            $jobs[] = $job->toArray();
        }

        return $jobs;
    }
public function toArray ( ) { $ jobs = array ( ) ; foreach ( $ this -> workerJobs as $ job ) { $ jobs [ ] = $ job -> toArray ( ) ; } return $ jobs ; }
Retrieve all jobs loaded previously in cache format

@return array
Retrieve all jobs loaded previously in cache format