diff --git a/documentation/manual/en/tutorials/quickstart-di.xml b/documentation/manual/en/tutorials/quickstart-di.xml index 0c041152b36..dcf12077b8b 100644 --- a/documentation/manual/en/tutorials/quickstart-di.xml +++ b/documentation/manual/en/tutorials/quickstart-di.xml @@ -1,5 +1,5 @@ -
Learning Dependency Injection +
Learning Dependency Injection
Very brief introduction to Di. @@ -26,13 +26,13 @@ $b = new B(new A)); on DI.
-
Very brief introduction to Di Container. +
Very brief introduction to Di Container.
-
Simplest usage case (2 classes, one consumes the other) +
Simplest usage case (2 classes, one consumes the other) In the simplest use case, a developer might have one class @@ -206,7 +206,7 @@ namespace My { based injection.
-
Simplest Usage Case Without Type-hints +
Simplest Usage Case Without Type-hints If your code does not have type-hints or you are using 3rd party @@ -301,7 +301,7 @@ $c = $di->get('My\C', $parameters); objects you might require.
-
Simplest usage case with Compiled Definition +
Simplest usage case with Compiled Definition Without going into the gritty details, as you might expect, PHP at @@ -431,7 +431,7 @@ if (!file_exists(__DIR__ . '/di-definition.php') && $isProduction) { of your application's dispatched actions.
-
Creating a precompiled definition for others to use +
Creating a precompiled definition for others to use If you are a 3rd party code developer, it makes sense to produce a @@ -463,7 +463,7 @@ $class->setMethod(array( file_put_contents(__DIR__ . '/My/DiDefinition.php', $codeGenerator->generate()); ]]>
-
Using Multiple Definitions From Multiple Sources +
Using Multiple Definitions From Multiple Sources In all actuality, you will be using code from multiple places, some @@ -518,7 +518,7 @@ $propertiesFromConfig = array( $im->setProperties($propertiesFromConfig); ]]>
-
Generating Service Locators +
Generating Service Locators