PHP Classes

File: src/Chronicle/HandlerInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Chronicle   src/Chronicle/HandlerInterface.php   Download  
File: src/Chronicle/HandlerInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Chronicle
Append arbitrary data to a storage container
Author: By
Last change: Build on PHP 8
Boyscouting. The next release will be v1.1.0
Date: 1 year ago
Size: 552 bytes
 

Contents

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

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

/**
 * Interface HandlerInterface
 * @package ParagonIE\Chronicle
 */
interface HandlerInterface
{
   
/**
     * @param RequestInterface $request
     * @param ResponseInterface $response
     * @param array $args
     *
     * @return ResponseInterface
     */
   
public function __invoke(
       
RequestInterface $request,
       
ResponseInterface $response,
        array
$args = []
    ):
ResponseInterface;
}