src/ItemList.php
protected function prepareMetaModel()
    {
        $factory            = $this->getFactory();
        $this->objMetaModel = $factory->getMetaModel($factory->translateIdToMetaModelName($this->intMetaModel));
        if (!$this->objMetaModel) {
            throw new \RuntimeException('Could get metamodel id: ' . $this->intMetaModel);
        }
    }
protected function prepareMetaModel()
    {
        $factory            = $this->getFactory();
        $this->objMetaModel = $factory->getMetaModel($factory->translateIdToMetaModelName($this->intMetaModel));
        if (!$this->objMetaModel) {
            throw new \RuntimeException('Could get metamodel id: ' . $this->intMetaModel);
        }
    }
Prepare the MetaModel.

@return void

@throws \RuntimeException When the MetaModel can not be found.