1 | <?php |
||
11 | class Onion implements RequestHandlerInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var RequestHandlerInterface|callable |
||
15 | */ |
||
16 | protected $core; |
||
17 | |||
18 | /** |
||
19 | * @var (MiddlewareInterface|RequestHandlerInterface|callable)[] |
||
20 | */ |
||
21 | protected $scales; |
||
22 | |||
23 | /** |
||
24 | * Constructs an onion style PSR-7 middleware stack. |
||
25 | * |
||
26 | * @param RequestHandlerInterface|callable $core the innermost request handler |
||
27 | * @param (MiddlewareInterface|RequestHandlerInterface|callable)[] $scales the middlewares to wrap around the core |
||
28 | */ |
||
29 | public function __construct(callable $core, callable ...$scales) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function __invoke(ServerRequestInterface $request):ResponseInterface |
||
44 | |||
45 | /** |
||
46 | * Process an incoming server request by delegating it to the middleware specified by $index. |
||
47 | * |
||
48 | * @param int $index the $scales index |
||
49 | * @param ServerRequestInterface $request |
||
50 | * |
||
51 | * @return ResponseInterface |
||
52 | */ |
||
53 | protected function processMiddleware(int $index, ServerRequestInterface $request):ResponseInterface |
||
80 | } |
||
81 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.