\phpDocumentor\Parser\MiddlewareCacheMiddleware

Summary

Methods
Properties
Constants
__construct()
execute()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$cache
$logger
N/A

Properties

$cache

$cache : \Symfony\Contracts\Cache\CacheInterface

Type

\Symfony\Contracts\Cache\CacheInterface

$logger

$logger : \Psr\Log\LoggerInterface

Type

\Psr\Log\LoggerInterface

Methods

__construct()

__construct(\Symfony\Contracts\Cache\CacheInterface  $files, \Psr\Log\LoggerInterface  $logger) : mixed

Parameters

\Symfony\Contracts\Cache\CacheInterface $files
\Psr\Log\LoggerInterface $logger

Returns

mixed —

execute()

execute(\phpDocumentor\Reflection\Middleware\Command  $command, callable  $next) : \phpDocumentor\Reflection\Php\File

Executes this middle ware class.

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

Parameters

\phpDocumentor\Reflection\Middleware\Command $command
callable $next

Throws

\Psr\Cache\InvalidArgumentException

Returns

\phpDocumentor\Reflection\Php\File —