function AbstractObjectNormalizerContextBuilder::withExcludeFromCacheKeys
Configures which context key are not relevant to determine which attributes of an object to (de)normalize.
Parameters
list<string>|null $excludeFromCacheKeys:
File
-
vendor/
symfony/ serializer/ Context/ Normalizer/ AbstractObjectNormalizerContextBuilder.php, line 106
Class
- AbstractObjectNormalizerContextBuilder
- A helper providing autocompletion for available AbstractObjectNormalizer options.
Namespace
Symfony\Component\Serializer\Context\NormalizerCode
public function withExcludeFromCacheKeys(?array $excludeFromCacheKeys) : static {
return $this->with(AbstractObjectNormalizer::EXCLUDE_FROM_CACHE_KEY, $excludeFromCacheKeys);
}