private function userProvider(ContainerBuilder $container, $user)
    {
        $container->setDefinition(
            'bengor.user_bundle.security.' . $user . '_provider',
            new Definition(
                UserProvider::class, [
                    $container->getDefinition(
                        'bengor.user.application.query.' . $user . '_of_email'
                    ),
                    $container->getDefinition(
                        'bengor.user_bundle.security.' . $user . '_symfony_data_transformer'
                    ),
                ]
            )
        )->setPublic(false);

        $container->setAlias(
            'bengor_user.' . $user . '.provider',
            'bengor.user_bundle.security.' . $user . '_provider'
        );
    }