public function getAsArray()
    {
        if ($result = $this->getDecodedContent() === null) {
            throw new Doozr_Configuration_Reader_Exception(
                'Please read() a configuration file before you try to access it as array.'
            );
        }

        if ($result !== null) {
            $result = object_to_array($result);
        }

        return $result;
    }
public function getAsArray()
    {
        if ($result = $this->getDecodedContent() === null) {
            throw new Doozr_Configuration_Reader_Exception(
                'Please read() a configuration file before you try to access it as array.'
            );
        }

        if ($result !== null) {
            $result = object_to_array($result);
        }

        return $result;
    }
public function getAsArray ( ) { if ( $ result = $ this -> getDecodedContent ( ) === null ) { throw new Doozr_Configuration_Reader_Exception ( 'Please read() a configuration file before you try to access it as array.' ) ; } if ( $ result !== null ) { $ result = object_to_array ( $ result ) ; } return $ result ; }
Returns the configuration as array.

@author Benjamin Carl <opensource@clickalicious.de>

@return array|null The configuration as array if set, otherwise NULL

@throws Doozr_Configuration_Reader_Exception
Returns the configuration as array .