PHP Classes

File: src/Chronicle/MiddlewareInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Chronicle   src/Chronicle/MiddlewareInterface.php   Download  
File: src/Chronicle/MiddlewareInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Chronicle
Append arbitrary data to a storage container
Author: By
Last change: Update of src/Chronicle/MiddlewareInterface.php
Date: 1 year ago
Size: 500 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\Chronicle;

use
Psr\Http\Message\{
   
RequestInterface,
   
ResponseInterface
};

/**
 * Interface MiddlewareInterface
 * @package ParagonIE\Chronicle
 */
interface MiddlewareInterface
{
   
/**
     * @param RequestInterface $request
     * @param ResponseInterface $response
     * @param callable $next
     */
   
public function __invoke(
       
RequestInterface $request,
       
ResponseInterface $response,
        callable
$next
   
);
}