public function getEntityClass($type)
    {
        if (!isset($this->config['entity_class'][$type])) {
            throw new Exception("You are trying to access a configuration that does not exists.");
        }

        return $this->config['entity_class'][$type];
    }
public function getEntityClass($type)
    {
        if (!isset($this->config['entity_class'][$type])) {
            throw new Exception("You are trying to access a configuration that does not exists.");
        }

        return $this->config['entity_class'][$type];
    }
public function getEntityClass ( $ type ) { if ( ! isset ( $ this -> config [ 'entity_class' ] [ $ type ] ) ) { throw new Exception ( "You are trying to access a configuration that does not exists." ) ; } return $ this -> config [ 'entity_class' ] [ $ type ] ; }
Get entity class configuration for given type

@param string $type

@return string

@throws Exception
Get entity class configuration for given type