public function create($groupId, InputStruct $input) { $objectState = $this->objectStateMapper->createObjectStateFromInputStruct($input); $this->objectStateGateway->insertObjectState($objectState, $groupId); return $objectState; }