[Serializer] Fix BC break: DEPTH_KEY_PATTERN must be public

This commit is contained in:
Kévin Dunglas 2019-05-10 12:50:04 +02:00
parent ae38ed80e2
commit 1bdf2af0da
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6

View File

@ -41,7 +41,7 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
/**
* How to track the current depth in the context.
*/
private const DEPTH_KEY_PATTERN = 'depth_%s::%s';
public const DEPTH_KEY_PATTERN = 'depth_%s::%s';
/**
* While denormalizing, we can verify that types match.