public function getGroupTitle() { return $this->group instanceof AttributeGroup ? $this->group->name : '---'; }