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'])); }