[phpstreamserver/symfony] New version (#1840)

This commit is contained in:
Anton Zenkov
2025-08-18 10:05:39 +04:00
committed by GitHub
parent 0045dcccb1
commit afcb2b9588
6 changed files with 22 additions and 17 deletions
@@ -0,0 +1,14 @@
<?php
use PHPStreamServer\Core\ReloadStrategy\ExceptionReloadStrategy;
use PHPStreamServer\Core\Server;
use PHPStreamServer\Symfony\Worker\SymfonyHttpServerProcess;
return static function (Server $server): void {
$server->addWorker(new SymfonyHttpServerProcess(
listen: '0.0.0.0:8080',
reloadStrategies: [
new ExceptionReloadStrategy(),
],
));
};