public function getData($name = null)
    {
        if ($name === null) {
            return $this->config['data'];
        } elseif (isset($this->config['data'][$name])) {
            return $this->config['data'][$name];
        } else {
            return null;
        }
    }
public function getData($name = null)
    {
        if ($name === null) {
            return $this->config['data'];
        } elseif (isset($this->config['data'][$name])) {
            return $this->config['data'][$name];
        } else {
            return null;
        }
    }
public function getData ( $ name = null ) { if ( $ name === null ) { return $ this -> config [ 'data' ] ; } elseif ( isset ( $ this -> config [ 'data' ] [ $ name ] ) ) { return $ this -> config [ 'data' ] [ $ name ] ; } else { return null ; } }
Get extra data from the operation

@param string $name Name of the data point to retrieve or null to
retrieve all of the extra data.

@return mixed|null
Get extra data from the operation