src/Factory.php
public function getMetaModel($metaModelName)
    {
        $event = new CreateMetaModelEvent($this, $metaModelName);

        $this->dispatcher->dispatch($event::NAME, $event);

        $metaModel = $event->getMetaModel();

        return $metaModel;
    }
public function getMetaModel($metaModelName)
    {
        $event = new CreateMetaModelEvent($this, $metaModelName);

        $this->dispatcher->dispatch($event::NAME, $event);

        $metaModel = $event->getMetaModel();

        return $metaModel;
    }
{@inheritdoc}