ReEncodingMiddleware
in package
implements
Middleware
Interfaces, Classes and Traits
- Middleware
- Middleware can be uses to perform extra steps during the parsing process.
Table of Contents
- $encoding : string
- 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 $next) : object
Parameters
- $command : Command
- $next : callable
Return values
object —withEncoding()
public
withEncoding(string $encoding) : void
Parameters
- $encoding : string