public function create() : AttributeInterface { $attribute = new Attribute(); $attribute->setValues($this->createEmptyCollection()); $attribute->setGroups($this->createEmptyCollection()); return $attribute; }