function AbstractNormalizerContextBuilder::withRequireAllProperties
Configures requiring all properties to be listed in the input instead of falling back to null for nullable ones.
File
-
vendor/
symfony/ serializer/ Context/ Normalizer/ AbstractNormalizerContextBuilder.php, line 184
Class
- AbstractNormalizerContextBuilder
- A helper providing autocompletion for available AbstractNormalizer options.
Namespace
Symfony\Component\Serializer\Context\NormalizerCode
public function withRequireAllProperties(?bool $requireAllProperties = true) : static {
return $this->with(AbstractNormalizer::REQUIRE_ALL_PROPERTIES, $requireAllProperties);
}