You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`Server $server` Server instance to register plugins and workers
115
+
-`array $context` This is the same as $_SERVER + $_ENV
116
+
-`string $projectDir` Project root directory
117
+
-`string $env` Current environment
118
+
-`bool $debug` Is in debug mode
124
119
125
120
## Intergation with Monolog
126
121
If you use Monolog as your main logging system in Symfony, you can route all logs to the PHPStreamServer logger. This bundle provides a special Monolog handler for seamless integration, which can be configured in the `monolog.yaml` file.
@@ -161,3 +156,18 @@ when@prod:
161
156
channels: ["!event", "!doctrine"]
162
157
163
158
```
159
+
160
+
## Symfony Events
161
+
During the workers' lifecycle, they [dispatch events](https://symfony.com/doc/current/event_dispatcher.html) which you can use to get to know what happens with workers.
0 commit comments