mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 01:26:27 +03:00
[phpstreamserver/symfony] New version (#1840)
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
));
|
||||
};
|
||||
Reference in New Issue
Block a user