15 lines
588 B
PHP
15 lines
588 B
PHP
<?php
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
return [
|
|
Psr\Http\Message\StreamFactoryInterface::class => function(ContainerInterface $container) {
|
|
return $container->get(Nyholm\Psr7\Factory\Psr17Factory::class);
|
|
},
|
|
Psr\Http\Message\RequestFactoryInterface::class => function(ContainerInterface $container) {
|
|
return $container->get(Nyholm\Psr7\Factory\Psr17Factory::class);
|
|
},
|
|
Psr\Http\Message\ResponseFactoryInterface::class => function(ContainerInterface $container) {
|
|
return $container->get(Nyholm\Psr7\Factory\Psr17Factory::class);
|
|
},
|
|
];
|