/** * @internal * * Updates a Managed Object with data coming from a POST or PUT request * * @param MManagedObject $object The managed object instance to be updated * * @return void */ protected function _updateObjectWithInputData(MManagedObject $object) { foreach ($object->entity()->properties()->toArray() as $property) { $object->setObjectForAttribute($property, $this->valueForFieldNamed($property->name())); } }