Skip to content

Commit 4003d36

Browse files
Upgraded to v0.3 FastCGI daemon
1 parent a6551c2 commit 4003d36

File tree

4 files changed

+42
-80
lines changed

4 files changed

+42
-80
lines changed

Command/DaemonRunCommand.php

Lines changed: 0 additions & 47 deletions
This file was deleted.

Resources/config/services.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,15 @@ services:
55
php_fast_cgi_speedfony.psr_message_factory:
66
class: Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory
77

8-
php_fast_cgi_speedfony.daemon_run_command:
9-
class: PHPFastCGI\SpeedfonyBundle\Command\DaemonRunCommand
8+
php_fast_cgi_speedfony.daemon_factory:
9+
class: PHPFastCGI\FastCGIDaemon\DaemonFactory
10+
11+
php_fast_cgi_speedfony.kernel_wrapper:
12+
class: PHPFastCGI\SpeedfonyBundle\Bridge\KernelWrapper
1013
arguments: ['@kernel', '@php_fast_cgi_speedfony.symfony_message_factory', '@php_fast_cgi_speedfony.psr_message_factory']
14+
15+
php_fast_cgi_speedfony.daemon_run_command:
16+
class: PHPFastCGI\FastCGIDaemon\Command\DaemonRunCommand
17+
arguments: ['daemon:run', 'Expose this application to the FastCGI daemon', '@php_fast_cgi_speedfony.daemon_factory', '@php_fast_cgi_speedfony.kernel_wrapper']
1118
tags:
1219
- { name: console.command }

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": ">=5.5.0",
1515
"symfony/symfony": "~2.7",
1616
"symfony/psr-http-message-bridge": "~0.1",
17-
"phpfastcgi/fastcgi-daemon": "~0.2"
17+
"phpfastcgi/fastcgi-daemon": "~0.3"
1818
},
1919
"require-dev": {
2020
"satooshi/php-coveralls": "dev-master"

composer.lock

Lines changed: 32 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)