public function handle(ParameterBag $pb) { foreach ($this->fields as $f) { $fieldName = $f->getFieldName(); $v = $pb->get($fieldName, null); if (!is_null($v)) { $this->set($fieldName, $v); } } }