ReEncodingMiddleware
in package
implements
Middleware
FinalYes
Table of Contents
Interfaces
- Middleware
- Middleware can be uses to perform extra steps during the parsing process.
Properties
- $encoding : string
Methods
- execute() : object
- Executes this middle ware class.
- withEncoding() : void
Properties
$encoding
private
string
$encoding
= 'UTF-8'
Methods
execute()
Executes this middle ware class.
public
execute(Command $command, callable(Command): object $next) : object
Parameters
Return values
objectwithEncoding()
public
withEncoding(string $encoding) : void
Parameters
- $encoding : string