File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -303,12 +303,12 @@ Using Options
303
303
304
304
Some behavior of the Runtimes can be modified through runtime options. They
305
305
can be set using the ``APP_RUNTIME_OPTIONS `` environment variable as an array
306
- or a JSON encoded value ::
306
+ or a JSON encoded string ::
307
307
308
308
$_SERVER['APP_RUNTIME_OPTIONS'] = [
309
309
'project_dir' => '/var/task',
310
310
];
311
- // Which is the same than
311
+ // same configuration using JSON:
312
312
// $_SERVER['APP_RUNTIME_OPTIONS'] = '{"project_dir":"\/var\/task"}';
313
313
314
314
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
@@ -317,7 +317,7 @@ or a JSON encoded value::
317
317
318
318
.. versionadded :: 7.4
319
319
320
- The support for JSON encoded APP_RUNTIME_OPTIONS value was introduced in Symfony 7.4.
320
+ The support for JSON contents in `` APP_RUNTIME_OPTIONS `` was introduced in Symfony 7.4.
321
321
322
322
You can also configure ``extra.runtime `` in ``composer.json ``:
323
323
You can’t perform that action at this time.
0 commit comments