configuration['map'], $new_value, $key_exists); if (!$key_exists) { if (array_key_exists('default_value', $this->configuration)) { if (!empty($this->configuration['bypass'])) { throw new MigrateException('Setting both default_value and bypass is invalid.'); } return $this->configuration['default_value']; } if (empty($this->configuration['bypass'])) { throw new MigrateSkipRowException(sprintf("No static mapping found for '%s' and no default value provided for destination '%s'.", Variable::export($value), $destination_property)); } else { return $value; } } return $new_value; } }