Flarum\Event\ConfigureMiddleware::__construct PHP Method

__construct() public method

public __construct ( MiddlewarePipe $pipe, string $path, AbstractServer $server )
$pipe Zend\Stratigility\MiddlewarePipe
$path string
$server Flarum\Foundation\AbstractServer
    public function __construct(MiddlewarePipe $pipe, $path, AbstractServer $server)
    {
        $this->pipe = $pipe;
        $this->path = $path;
        $this->server = $server;
    }