MetaModels\Filter\Setting\Collection::getMetaModel PHP Méthode

getMetaModel() public méthode

Retrieve the MetaModel this filter belongs to.
public getMetaModel ( ) : MetaModels\IMetaModel
Résultat MetaModels\IMetaModel
    public function getMetaModel()
    {
        if ($this->metaModel) {
            return $this->metaModel;
        }
        throw new \RuntimeException(sprintf('Error: Filter setting %d not attached to a MetaModel', $this->arrData['id']));
    }