public function getOptions() { $result = []; foreach ($this->attributeModel->eavOptions as $option) { $result[] = $option->getPrimaryKey(); } return $result; }