Module/WorkerClass.php
public function toArray()
    {
        return array(

            'namespace'            => $this->namespace,
            'className'            => $this->className,
            'fileName'             => $this->fileName,
            'callableName'         => $this->callableName,
            'description'          => $this->description,
            'service'              => $this->service,
            'servers'              => $this->servers,
            'iterations'           => $this->iterations,
            'minimumExecutionTime' => $this->minimumExecutionTime,
            'timeout'              => $this->timeout,
            'jobs'                 => $this->jobCollection->toArray(),
        );
    }
public function toArray()
    {
        return array(

            'namespace'            => $this->namespace,
            'className'            => $this->className,
            'fileName'             => $this->fileName,
            'callableName'         => $this->callableName,
            'description'          => $this->description,
            'service'              => $this->service,
            'servers'              => $this->servers,
            'iterations'           => $this->iterations,
            'minimumExecutionTime' => $this->minimumExecutionTime,
            'timeout'              => $this->timeout,
            'jobs'                 => $this->jobCollection->toArray(),
        );
    }
public function toArray ( ) { return array ( 'namespace' => $ this -> namespace , 'className' => $ this -> className , 'fileName' => $ this -> fileName , 'callableName' => $ this -> callableName , 'description' => $ this -> description , 'service' => $ this -> service , 'servers' => $ this -> servers , 'iterations' => $ this -> iterations , 'minimumExecutionTime' => $ this -> minimumExecutionTime , 'timeout' => $ this -> timeout , 'jobs' => $ this -> jobCollection -> toArray ( ) , ) ; }
Retrieve all Worker data in cache format

@return array
Retrieve all Worker data in cache format