privates['console.command.validator_debug'] = $instance = new \Symfony\Component\Validator\Command\DebugCommand(($container->privates['debug.validator'] ?? $container->getDebug_ValidatorService())); $instance->setName('debug:validator'); $instance->setDescription('Display validation constraints for classes'); return $instance; } }