public function getData()
    {
        $data = array();
        foreach (get_object_vars($this) as $key => $value) {
            if (strpos($key, '__') !== 0) {
                $data[$key] = $value;
            }
        }

        return $data;
    }
public function getData()
    {
        $data = array();
        foreach (get_object_vars($this) as $key => $value) {
            if (strpos($key, '__') !== 0) {
                $data[$key] = $value;
            }
        }

        return $data;
    }
public function getData ( ) { $ data = array ( ) ; foreach ( get_object_vars ( $ this ) as $ key => $ value ) { if ( strpos ( $ key , '__' ) !== 0 ) { $ data [ $ key ] = $ value ; } } return $ data ; }
Get the data of the job for sending to the new process.

@return array
Get the data of the job for sending to the new process .