src/EntityDataManager.php
public function getModel()
    {
        $collection = $this->getCollection();

        /** @var EntityDataModel $model */
        $model = $collection->getModel();
        $model->setEntityManager($this);

        return $model;
    }
public function getModel()
    {
        $collection = $this->getCollection();

        /** @var EntityDataModel $model */
        $model = $collection->getModel();
        $model->setEntityManager($this);

        return $model;
    }
public function getModel ( ) { $ collection = $ this -> getCollection ( ) ; /** @var EntityDataModel $model */ $ model = $ collection -> getModel ( ) ; $ model -> setEntityManager ( $ this ) ; return $ model ; }
Get the model associated with the collection.

@return EntityDataModel
Get the model associated with the collection .