<?php
use Chubbyphp\ApiHttp\Container\ResponseManagerFactory;
use Psr\Container\ContainerInterface;
/** @var ContainerInterface $container */
$container = ...;
$factory = new ResponseManagerFactory();
$responseManager = $factory($container);
<?php
use Chubbyphp\ApiHttp\Container\ResponseManagerFactory;
use Psr\Container\ContainerInterface;
/** @var ContainerInterface $container */
$container = ...;
$factory = [ResponseManagerFactory::class, 'default'];
$responseManager = $factory($container);