Skip to content

Commit 8fdde46

Browse files
Update README.md
1 parent bb319e1 commit 8fdde46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ composer require "phpfastcgi/expressive-adapter:^0.1"
3535
require_once dirname(__FILE__) . '/../vendor/autoload.php';
3636

3737
use PHPFastCGI\FastCGIDaemon\ApplicationFactory;
38-
use PHPFastCGI\Adapter\Expressive\AppWrapper;
38+
use PHPFastCGI\Adapter\Expressive\ApplicationWrapper;
3939
use Zend\Expressive\AppFactory;
4040

4141
// Create your Expressive app
@@ -46,7 +46,7 @@ $app->get('/', function ($request, $response, $next) {
4646
});
4747

4848
// Create the kernel for the FastCGIDaemon library (from the Expressive app)
49-
$kernel = new AppWrapper($app);
49+
$kernel = new ApplicationWrapper($app);
5050

5151
// Create the symfony console application
5252
$consoleApplication = (new ApplicationFactory)->createApplication($kernel);

0 commit comments

Comments
 (0)