src/PHPDish/Bundle/UserBundle/DependencyInjection/Compiler/FOSCompatiblePass.php
public function process(ContainerBuilder $container)
    {
        if ($changePassword = $container->findDefinition('fos_user.resetting.controller')) {
            $changePassword->setClass(ResettingController::class)
                ->addMethodCall('setResourceConfiguration', [
                    new Reference('phpdish_resource.configuration.phpdish_user')
                ]);
        }
    }
public function process(ContainerBuilder $container)
    {
        if ($changePassword = $container->findDefinition('fos_user.resetting.controller')) {
            $changePassword->setClass(ResettingController::class)
                ->addMethodCall('setResourceConfiguration', [
                    new Reference('phpdish_resource.configuration.phpdish_user')
                ]);
        }
    }
{@inheritdoc}