mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 10:36:52 +03:00
[phpstreamserver/symfony] New version (#1840)
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use App\Kernel;
|
||||
use PHPStreamServer\Symfony\ServerApplication;
|
||||
|
||||
require_once \dirname(__DIR__) . '/vendor/autoload_runtime.php';
|
||||
|
||||
return new ServerApplication(static function (array $context) {
|
||||
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||||
});
|
||||
Reference in New Issue
Block a user