RegisterSerializationClassesCompilerPass
class RegisterSerializationClassesCompilerPass implements CompilerPassInterface (View source)
Adds services tagged 'normalizer' and 'encoder' to the Serializer.
Methods
process(ContainerBuilder $container)
Adds services to the Serializer.
bool
normalizerBcSettingIsEnabled(string $key, $config_name)
Returns whether a normalizer BC setting is disabled or not.
array
sort(array $services)
Sorts by priority.
Details
process(ContainerBuilder $container)
Adds services to the Serializer.
protected bool
normalizerBcSettingIsEnabled(string $key, $config_name)
Returns whether a normalizer BC setting is disabled or not.
protected array
sort(array $services)
Sorts by priority.
Order services from highest priority number to lowest (reverse sorting).