public function getData()
    {
        if ($this->_cache === null) {
            $this->_cache = $this->asArray(); // Throws.
        }

        if ($this->_type !== null) {
            foreach ($this->_cache as &$value) {
                if (is_array($value)) {
                    $value = new $this->_type($value); // Throws.
                }
            }
        }

        return $this->_cache;
    }
public function getData()
    {
        if ($this->_cache === null) {
            $this->_cache = $this->asArray(); // Throws.
        }

        if ($this->_type !== null) {
            foreach ($this->_cache as &$value) {
                if (is_array($value)) {
                    $value = new $this->_type($value); // Throws.
                }
            }
        }

        return $this->_cache;
    }
public function getData ( ) { if ( $ this -> _cache === null ) { $ this -> _cache = $ this -> asArray ( ) ; // Throws. } if ( $ this -> _type !== null ) { foreach ( $ this -> _cache as & $ value ) { if ( is_array ( $ value ) ) { $ value = new $ this -> _type ( $ value ) ; // Throws. } } } return $ this -> _cache ; }
Get the data array of this unpredictable container.

@throws LazyJsonMapperException

@return array
Get the data array of this unpredictable container .