public function getModelConfiguration($objectName)
    {
        if (isset($this->configuration[$objectName])) {
            $modelConfiguration = $this->configuration[$objectName];
            $modelConfiguration['__object_name'] = $objectName;
            if (isset($modelConfiguration['fields']) === false) {
                $modelConfiguration['fields'] = array();
            }

            return $modelConfiguration;
        }
    }
public function getModelConfiguration($objectName)
    {
        if (isset($this->configuration[$objectName])) {
            $modelConfiguration = $this->configuration[$objectName];
            $modelConfiguration['__object_name'] = $objectName;
            if (isset($modelConfiguration['fields']) === false) {
                $modelConfiguration['fields'] = array();
            }

            return $modelConfiguration;
        }
    }
public function getModelConfiguration ( $ objectName ) { if ( isset ( $ this -> configuration [ $ objectName ] ) ) { $ modelConfiguration = $ this -> configuration [ $ objectName ] ; $ modelConfiguration [ '__object_name' ] = $ objectName ; if ( isset ( $ modelConfiguration [ 'fields' ] ) === false ) { $ modelConfiguration [ 'fields' ] = array ( ) ; } return $ modelConfiguration ; } }
Returns the model for the specified object.

@param string $objectName

@return array|null
Returns the model for the specified object .