phpDocumentor

CacheMiddleware
in package
implements Middleware

FinalYes

Table of Contents

Interfaces

Middleware

Properties

$cache  : CacheInterface
$logger  : LoggerInterface

Methods

__construct()  : mixed
execute()  : File
Executes this middle ware class.

Properties

Methods

__construct()

public __construct(CacheInterface $cache, LoggerInterface $logger) : mixed
Parameters
$cache : CacheInterface
$logger : LoggerInterface

execute()

Executes this middle ware class.

public execute(Command $command, callable(Command): File $next) : File

A middle ware class MUST return a File object or call the $next callable.

Parameters
$command : Command
$next : callable(Command): File
Tags
throws
InvalidArgumentException
Return values
File

        
On this page

Search results