Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
Slim\Middleware\OutputBufferingMiddleware Class Reference
Inheritance diagram for Slim\Middleware\OutputBufferingMiddleware:
Psr\Http\Server\MiddlewareInterface

Public Member Functions

 __construct (StreamFactoryInterface $streamFactory, string $style='append')
 
 process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Public Attributes

const APPEND = 'append'
 
const PREPEND = 'prepend'
 

Protected Attributes

StreamFactoryInterface $streamFactory
 
string $style
 

Constructor & Destructor Documentation

◆ __construct()

Slim\Middleware\OutputBufferingMiddleware::__construct ( StreamFactoryInterface $streamFactory,
string $style = 'append' )
Parameters
string$styleEither "append" or "prepend"

Member Function Documentation

◆ process()

Slim\Middleware\OutputBufferingMiddleware::process ( ServerRequestInterface $request,
RequestHandlerInterface $handler )
Exceptions
Throwable

Implements Psr\Http\Server\MiddlewareInterface.


The documentation for this class was generated from the following file: