public function getParsedData($key = null)
    {
        $result = null;

        if ($this->parsedData !== null && is_array($this->parsedData)) {
            if (null === $key) {
                $result = $this->parsedData;
            } else {
                $result = (isset($this->parsedData[$key])) ? $this->parsedData[$key] : null;
            }
        }

        return $result;
    }
public function getParsedData($key = null)
    {
        $result = null;

        if ($this->parsedData !== null && is_array($this->parsedData)) {
            if (null === $key) {
                $result = $this->parsedData;
            } else {
                $result = (isset($this->parsedData[$key])) ? $this->parsedData[$key] : null;
            }
        }

        return $result;
    }
public function getParsedData ( $ key = null ) { $ result = null ; if ( $ this -> parsedData !== null && is_array ( $ this -> parsedData ) ) { if ( null === $ key ) { $ result = $ this -> parsedData ; } else { $ result = ( isset ( $ this -> parsedData [ $ key ] ) ) ? $ this -> parsedData [ $ key ] : null ; } } return $ result ; }
Get a value from parsed data, or the whole array.

@param (string) $key

@since 3.0.0

@return mixed
Get a value from parsed data or the whole array .