DS
Size: a a a
DS
Д
AM
А
fn() => new YourClass()
Д
@notContainered
?)AM
@notContainered
?)Д
А
@notContainered
?)weakRefContainer
:D и он бы всё зарешалД
fn() => new YourClass()
DS
Д
AM
weakRefContainer
:D и он бы всё зарешалDS
А
Return value of class@anonymous::process() must be an instance of Psr\Http\Message\ResponseInterface, instance of App\Middleware\SetFormat returned
// ->addMiddleware($mw(SetFormat::class, ['html', null]))
->addMiddleware(fn () => new SetFormat('html', null))
А
SetFormat implements MiddlewareInterface
А
fn ()
должен вернуть респонс а не мидлварьА
А
AM
А