We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4f011 commit b755dd6Copy full SHA for b755dd6
README.md
@@ -15,9 +15,17 @@ composer require runtime/roadrunner-symfony-nyholm
15
Define the environment variable `APP_RUNTIME` for your application.
16
17
```
18
+// .env
19
APP_RUNTIME=Runtime\RoadRunnerSymfonyNyholm\Runtime
20
21
22
+```
23
+// .rr.yaml
24
+server:
25
+ ...
26
+ env:
27
+ APP_RUNTIME: Runtime\RoadRunnerSymfonyNyholm\Runtime
28
29
30
```php
31
// public/index.php
@@ -29,6 +37,4 @@ require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
37
return function (array $context) {
38
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
39
};
32
-
33
40
34
0 commit comments