@@ -46,7 +46,7 @@ the component. This file runs the following logic:
46
46
47
47
#. It instantiates a :class: `Symfony\\ Component\\ Runtime\\ RuntimeInterface `;
48
48
#. The callable (returned by ``public/index.php ``) is passed to the Runtime, whose job
49
- is to resolve the arguments (in this example: ``array $content ``);
49
+ is to resolve the arguments (in this example: ``array $context ``);
50
50
#. Then, this callable is called to get the application (``App\Kernel ``);
51
51
#. At last, the Runtime is used to run the application (i.e. calling
52
52
``$kernel->handle(Request::createFromGlobals())->send() ``).
@@ -172,12 +172,12 @@ a number of different applications are supported::
172
172
The ``SymfonyRuntime `` can handle these applications:
173
173
174
174
:class: `Symfony\\ Component\\ HttpKernel\\ HttpKernelInterface `
175
- The application will be run with :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ HttpKernelRunner` `
175
+ The application will be run with :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ HttpKernelRunner `
176
176
like a "standard" Symfony application.
177
177
178
178
:class: `Symfony\\ Component\\ HttpFoundation\\ Response `
179
179
The Response will be printed by
180
- :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ ResponseRunner` ` ::
180
+ :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ ResponseRunner `::
181
181
182
182
<?php
183
183
// public/index.php
@@ -191,7 +191,7 @@ The ``SymfonyRuntime`` can handle these applications:
191
191
192
192
:class: `Symfony\\ Component\\ Console\\ Command\\ Command `
193
193
To write single command applications. This will use the
194
- :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ ConsoleApplicationRunner` ` ::
194
+ :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ ConsoleApplicationRunner `::
195
195
196
196
<?php
197
197
@@ -211,7 +211,7 @@ The ``SymfonyRuntime`` can handle these applications:
211
211
212
212
:class: `Symfony\\ Component\\ Console\\ Application `
213
213
Useful with console applications with more than one command. This will use the
214
- :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ ConsoleApplicationRunner` ` ::
214
+ :class: `Symfony\\ Component\\ Runtime\\ Runner\\ Symfony\\ ConsoleApplicationRunner `::
215
215
216
216
<?php
217
217
@@ -361,7 +361,7 @@ class will have more control and can fix bugs and add features.
361
361
362
362
.. note ::
363
363
364
- Before Symfony 5.3, the Symfony boostrap logic was part of a Flex recipe.
364
+ Before Symfony 5.3, the Symfony bootstrap logic was part of a Flex recipe.
365
365
Since recipes are rarely updated by users, bug patches would rarely be
366
366
installed.
367
367
@@ -377,7 +377,7 @@ application outside of the global state in 6 steps:
377
377
represents the application.
378
378
#. This *application object * is passed to ``RuntimeInterface::getRunner() ``, which
379
379
returns a :class: `Symfony\\ Component\\ Runtime\\ RunnerInterface `: an instance
380
- that knows how to "run" the appliction object.
380
+ that knows how to "run" the application object.
381
381
#. The ``RunnerInterface::run(object $application) `` is called and it returns the
382
382
exit status code as `int `.
383
383
#. The PHP engine is exited with this status code.
0 commit comments