From 70fb96f10f862cf1b2449b200ab84826f0b763ea Mon Sep 17 00:00:00 2001 From: Abdelilah Jabri <42073961+JabriAbdelilah@users.noreply.github.com> Date: Thu, 16 Jun 2022 16:11:39 +0100 Subject: [PATCH] Remove duplicated help --- data/dependency-injection.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/data/dependency-injection.yml b/data/dependency-injection.yml index 362c0b0..bdccfad 100644 --- a/data/dependency-injection.yml +++ b/data/dependency-injection.yml @@ -2,7 +2,6 @@ category: Dependency Injection questions: - question: 'When setting up the container with configuratio XML files and Config component, how to inject my.custome.service ?' - help: https://symfony.com/doc/current/service_container/injection_types.html#constructor-injection answers: - {value: , correct: false} - {value: , correct: false} @@ -12,7 +11,6 @@ questions: https://symfony.com/doc/current/service_container.html#choose-a-specific-service - question: 'Which types of injection are available in the component?' - help: https://symfony.com/doc/current/service_container/injection_types.html answers: - {value: constructor, correct: true} - {value: property, correct: true} @@ -25,7 +23,6 @@ questions: https://symfony.com/doc/current/service_container/injection_types.html - question: 'Using XML, which of these lines are correct to inject a service?' - help: https://symfony.com/doc/current/service_container/injection_types.html answers: - {value: , correct: false} - {value: , correct: true} @@ -36,7 +33,6 @@ questions: https://symfony.com/doc/current/service_container/injection_types.html - question: 'Using YML, which line allows to inject proxy of exceptionnaly large services when working with symfony/proxy-manager-bridge ?' - help: https://symfony.com/doc/current/service_container/lazy_services.html answers: - {value: "proxy_service: true", correct: false} - {value: "lazy: true", correct: true} @@ -110,7 +106,6 @@ questions: - {value: "$container->getService('my.service')", correct: false} - question: 'Using a compiler pass, how do you retrieve a definition of service ?' - help: https://symfony.com/doc/current/service_container/definitions.html#getting-and-setting-service-definitions answers: - {value: "$container->getDefinition('my.service')", correct: true} - {value: "$container->findDefinition('my.service')", correct: true} @@ -120,7 +115,6 @@ questions: https://github.com/symfony/dependency-injection/blob/master/ContainerBuilder.php - question: 'What are existing compiler pass order ?' - help: https://symfony.com/doc/current/components/dependency_injection/compilation.html#controlling-the-pass-ordering answers: - {value: "PassConfig::TYPE_BEFORE_OPTIMIZATION", correct: true} - {value: "PassConfig::TYPE_OPTIMIZE", correct: true}