MetaModels\Filter\Setting\Collection::getMetaModel PHP 메소드

getMetaModel() 공개 메소드

Retrieve the MetaModel this filter belongs to.
public getMetaModel ( ) : MetaModels\IMetaModel
리턴 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']));
    }