public function create(Attribute &$attribute) { $this->throwValidationErrors($attribute); $this->attributeRepository->create($attribute); }