RemoveTrailingSlash
    
            
            in package
            
        
    
    
    
Remove trailing slash from the URL by redirect it.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
 - The class constructor.
 - run() : string|null
 - Run the middleware.
 
Properties
$Container
    protected
        Container
    $Container
    
    
    
    
    
Methods
__construct()
The class constructor.
    public
                    __construct(Container $Container) : mixed
    Parameters
- $Container : Container
 - 
                    
The DI container class.
 
run()
Run the middleware.
    public
                    run([string|null $response = '' ]) : string|null
    Parameters
- $response : string|null = ''