Notice (1024) : Undefined property: PagesController::$Auth in E:\websites\ami\src\Controller\PagesController.php on line 35 [CORE\src\Controller\Controller.php , line 388 ]Code Context ),
E_USER_NOTICE
);
$name = 'Auth'
$plugin = null
$class = 'Pages'
$trace = [
(int) 0 => [
'file' => 'E:\websites\ami\src\Controller\PagesController.php',
'line' => (int) 35,
'function' => '__get',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\PagesController) {},
'type' => '->',
'args' => [
(int) 0 => 'Auth'
]
],
(int) 1 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Controller\Controller.php',
'line' => (int) 273,
'function' => 'initialize',
'class' => 'App\Controller\PagesController',
'object' => object(App\Controller\PagesController) {},
'type' => '->',
'args' => []
],
(int) 2 => [
'function' => '__construct',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\PagesController) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 3 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\ControllerFactory.php',
'line' => (int) 47,
'function' => 'newInstance',
'class' => 'ReflectionClass',
'object' => object(ReflectionClass) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 4 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\ActionDispatcher.php',
'line' => (int) 91,
'function' => 'create',
'class' => 'Cake\Http\ControllerFactory',
'object' => object(Cake\Http\ControllerFactory) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 5 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\BaseApplication.php',
'line' => (int) 235,
'function' => 'dispatch',
'class' => 'Cake\Http\ActionDispatcher',
'object' => object(Cake\Http\ActionDispatcher) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 6 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Http\BaseApplication',
'object' => object(App\Application) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 7 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 8 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Middleware\CsrfProtectionMiddleware.php',
'line' => (int) 104,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 9 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Http\Middleware\CsrfProtectionMiddleware',
'object' => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 10 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 51,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 11 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\RoutingMiddleware.php',
'line' => (int) 168,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) {},
(int) 1 => object(Cake\Http\ServerRequest) {},
(int) 2 => object(Cake\Http\Response) {}
]
],
(int) 12 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'object' => object(Cake\Routing\Middleware\RoutingMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 13 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\AssetMiddleware.php',
'line' => (int) 88,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 14 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'object' => object(Cake\Routing\Middleware\AssetMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 15 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Error\Middleware\ErrorHandlerMiddleware.php',
'line' => (int) 96,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 16 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 65,
'function' => '__invoke',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'object' => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {},
(int) 2 => object(Cake\Http\Runner) {}
]
],
(int) 17 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php',
'line' => (int) 51,
'function' => '__invoke',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) {},
(int) 1 => object(Cake\Http\Response) {}
]
],
(int) 18 => [
'file' => 'E:\websites\ami\vendor\cakephp\cakephp\src\Http\Server.php',
'line' => (int) 98,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) {},
(int) 1 => object(Cake\Http\ServerRequest) {},
(int) 2 => object(Cake\Http\Response) {}
]
],
(int) 19 => [
'file' => 'E:\websites\ami\webroot\index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'object' => object(Cake\Http\Server) {},
'type' => '->',
'args' => []
],
(int) 20 => [
'file' => 'E:\websites\ami\index.php',
'line' => (int) 16,
'args' => [
(int) 0 => 'E:\websites\ami\webroot\index.php'
],
'function' => 'require'
]
]
$parts = [
(int) 0 => 'App',
(int) 1 => 'Controller'
] Cake\Controller\Controller::__get() - CORE\src\Controller\Controller.php, line 388
App\Controller\PagesController::initialize() - APP/Controller\PagesController.php, line 35
Cake\Controller\Controller::__construct() - CORE\src\Controller\Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE\src\Http\ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE\src\Http\ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE\src\Http\BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Http\Runner::run() - CORE\src\Http\Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE\src\Routing\Middleware\RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE\src\Routing\Middleware\AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE\src\Http\Runner.php, line 65 Warning (512) : Unable to emit headers. Headers sent in file=E:\websites\ami\vendor\cakephp\cakephp\src\Error\Debugger.php line=853 [CORE\src\Http\ResponseEmitter.php , line 51 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function allow() on bool </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function allow() on bool <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Controller\Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$components </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">components</span><span style="color: #007700">(</span><span style="color: #0000BB">$components</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="272"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">initialize</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_mergeControllerVars</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loadComponents</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">on</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">[internal function]</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">missingController</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Controller\Controller $controller */
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$reflection</span><span style="color: #007700">-></span><span style="color: #0000BB">newInstance</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// event handler if there is one.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">) instanceof </span><span style="color: #0000BB">Controller</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="239"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.
</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Middleware\CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Error\Middleware\ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,
</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\webroot\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="12"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">since 0.10.0
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">license https</span><span style="color: #007700">:</span><span style="color: #FF8000">//opensource.org/licenses/mit-license.php MIT License
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require </span><span style="color: #DD0000">'webroot' </span><span style="color: #007700">. </span><span style="color: #0000BB">DIRECTORY_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #DD0000">'index.php'</span><span style="color: #007700">;
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>'E:\websites\ami\webroot\index.php'</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT\src\Controller\PagesController.php, line 35 </div>
<p class="customize">
If you want to customize this error message, create
<em>src\Template\Error\error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\PagesController->initialize</span>
<span class="stack-file">
CORE\src\Controller\Controller.php, line 273 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->__construct</span>
<span class="stack-file">
[internal function]
</span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ ReflectionClass->newInstance</span>
<span class="stack-file">
CORE\src\Http\ControllerFactory.php, line 47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ControllerFactory->create</span>
<span class="stack-file">
CORE\src\Http\ActionDispatcher.php, line 91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE\src\Http\BaseApplication.php, line 235 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Routing\Middleware\RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Routing\Middleware\AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Http\Server.php, line 98 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT\webroot\index.php, line 40 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ require</span>
<span class="stack-file">
ROOT\index.php, line 16 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$maxBufferLength = (int) 8192
$file = 'E:\websites\ami\vendor\cakephp\cakephp\src\Error\Debugger.php'
$line = (int) 853
$message = 'Unable to emit headers. Headers sent in file=E:\websites\ami\vendor\cakephp\cakephp\src\Error\Debugger.php line=853' Cake\Http\ResponseEmitter::emit() - CORE\src\Http\ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE\src\Http\Server.php, line 141
require - ROOT\webroot\index.php, line 40
[main] - ROOT\index.php, line 16 Warning (2) : Cannot modify header information - headers already sent by (output started at E:\websites\ami\vendor\cakephp\cakephp\src\Error\Debugger.php:853) [CORE\src\Http\ResponseEmitter.php , line 152 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function allow() on bool </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function allow() on bool <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Controller\Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$components </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">components</span><span style="color: #007700">(</span><span style="color: #0000BB">$components</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="272"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">initialize</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_mergeControllerVars</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loadComponents</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">on</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">[internal function]</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">missingController</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Controller\Controller $controller */
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$reflection</span><span style="color: #007700">-></span><span style="color: #0000BB">newInstance</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// event handler if there is one.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">) instanceof </span><span style="color: #0000BB">Controller</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="239"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.
</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Middleware\CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Error\Middleware\ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,
</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\webroot\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="12"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">since 0.10.0
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">license https</span><span style="color: #007700">:</span><span style="color: #FF8000">//opensource.org/licenses/mit-license.php MIT License
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require </span><span style="color: #DD0000">'webroot' </span><span style="color: #007700">. </span><span style="color: #0000BB">DIRECTORY_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #DD0000">'index.php'</span><span style="color: #007700">;
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>'E:\websites\ami\webroot\index.php'</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT\src\Controller\PagesController.php, line 35 </div>
<p class="customize">
If you want to customize this error message, create
<em>src\Template\Error\error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\PagesController->initialize</span>
<span class="stack-file">
CORE\src\Controller\Controller.php, line 273 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->__construct</span>
<span class="stack-file">
[internal function]
</span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ ReflectionClass->newInstance</span>
<span class="stack-file">
CORE\src\Http\ControllerFactory.php, line 47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ControllerFactory->create</span>
<span class="stack-file">
CORE\src\Http\ActionDispatcher.php, line 91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE\src\Http\BaseApplication.php, line 235 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Routing\Middleware\RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Routing\Middleware\AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Http\Server.php, line 98 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT\webroot\index.php, line 40 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ require</span>
<span class="stack-file">
ROOT\index.php, line 16 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$reasonPhrase = 'Internal Server Error' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE\src\Http\ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE\src\Http\ResponseEmitter.php, line 57
Cake\Http\Server::emit() - CORE\src\Http\Server.php, line 141
require - ROOT\webroot\index.php, line 40
[main] - ROOT\index.php, line 16 Warning (2) : Cannot modify header information - headers already sent by (output started at E:\websites\ami\vendor\cakephp\cakephp\src\Error\Debugger.php:853) [CORE\src\Http\ResponseEmitter.php , line 181 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function allow() on bool </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function allow() on bool <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Controller\Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$components </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">components</span><span style="color: #007700">(</span><span style="color: #0000BB">$components</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="272"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">initialize</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_mergeControllerVars</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loadComponents</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">on</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">[internal function]</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">missingController</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Controller\Controller $controller */
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$reflection</span><span style="color: #007700">-></span><span style="color: #0000BB">newInstance</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// event handler if there is one.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">) instanceof </span><span style="color: #0000BB">Controller</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="239"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.
</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Middleware\CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Error\Middleware\ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,
</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\webroot\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="12"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">since 0.10.0
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">license https</span><span style="color: #007700">:</span><span style="color: #FF8000">//opensource.org/licenses/mit-license.php MIT License
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require </span><span style="color: #DD0000">'webroot' </span><span style="color: #007700">. </span><span style="color: #0000BB">DIRECTORY_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #DD0000">'index.php'</span><span style="color: #007700">;
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>'E:\websites\ami\webroot\index.php'</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT\src\Controller\PagesController.php, line 35 </div>
<p class="customize">
If you want to customize this error message, create
<em>src\Template\Error\error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\PagesController->initialize</span>
<span class="stack-file">
CORE\src\Controller\Controller.php, line 273 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->__construct</span>
<span class="stack-file">
[internal function]
</span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ ReflectionClass->newInstance</span>
<span class="stack-file">
CORE\src\Http\ControllerFactory.php, line 47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ControllerFactory->create</span>
<span class="stack-file">
CORE\src\Http\ActionDispatcher.php, line 91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE\src\Http\BaseApplication.php, line 235 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Routing\Middleware\RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Routing\Middleware\AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Http\Server.php, line 98 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT\webroot\index.php, line 40 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ require</span>
<span class="stack-file">
ROOT\index.php, line 16 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE\src\Http\ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE\src\Http\ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE\src\Http\Server.php, line 141
require - ROOT\webroot\index.php, line 40
[main] - ROOT\index.php, line 16 Warning (2) : Cannot modify header information - headers already sent by (output started at E:\websites\ami\vendor\cakephp\cakephp\src\Error\Debugger.php:853) [CORE\src\Http\ResponseEmitter.php , line 181 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Call to a member function allow() on bool </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Call to a member function allow() on bool <span class="header-type">Error</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Controller\Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$components </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">components</span><span style="color: #007700">(</span><span style="color: #0000BB">$components</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="272"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="273"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">initialize</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="274"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="275"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_mergeControllerVars</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="276"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loadComponents</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="277"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">on</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">[internal function]</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">missingController</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="44"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="45"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="46"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Controller\Controller $controller */
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$reflection</span><span style="color: #007700">-></span><span style="color: #0000BB">newInstance</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// event handler if there is one.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">) instanceof </span><span style="color: #0000BB">Controller</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$beforeEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="233"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="234"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="235"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="236"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="237"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="238"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="239"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.
</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Middleware\CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_createToken</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenToRequest</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="103"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="104"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="105"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="106"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_validateAndUnsetTokenField</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="107"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="108"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="170"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="171"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="84"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="85"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Error\Middleware\ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;
</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="47"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="48"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="49"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="50"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="51"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="52"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="53"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request
</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\vendor\cakephp\cakephp\src\Http\Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="100"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="101"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="102"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,
</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\webroot\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<span class="stack-frame-file">E:\websites\ami\index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="12"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">since 0.10.0
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">license https</span><span style="color: #007700">:</span><span style="color: #FF8000">//opensource.org/licenses/mit-license.php MIT License
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require </span><span style="color: #DD0000">'webroot' </span><span style="color: #007700">. </span><span style="color: #0000BB">DIRECTORY_SEPARATOR </span><span style="color: #007700">. </span><span style="color: #DD0000">'index.php'</span><span style="color: #007700">;
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>'E:\websites\ami\webroot\index.php'</pre>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT\src\Controller\PagesController.php, line 35 </div>
<p class="customize">
If you want to customize this error message, create
<em>src\Template\Error\error500.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ App\Controller\PagesController->initialize</span>
<span class="stack-file">
CORE\src\Controller\Controller.php, line 273 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Controller\Controller->__construct</span>
<span class="stack-file">
[internal function]
</span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ ReflectionClass->newInstance</span>
<span class="stack-file">
CORE\src\Http\ControllerFactory.php, line 47 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Http\ControllerFactory->create</span>
<span class="stack-file">
CORE\src\Http\ActionDispatcher.php, line 91 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE\src\Http\BaseApplication.php, line 235 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 104 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Routing\Middleware\RoutingMiddleware.php, line 168 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Routing\Middleware\AssetMiddleware.php, line 88 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 96 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 65 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\Runner->__invoke</span>
<span class="stack-file">
CORE\src\Http\Runner.php, line 51 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Http\Runner->run</span>
<span class="stack-file">
CORE\src\Http\Server.php, line 98 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">⟩ Cake\Http\Server->run</span>
<span class="stack-file">
ROOT\webroot\index.php, line 40 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">⟩ require</span>
<span class="stack-file">
ROOT\index.php, line 16 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'https://www.ami-sheffield.co.uk/nhbc-accepted-fire-rated-structural-glass-balustrade'
]
$name = 'Location'
$first = true
$value = 'https://www.ami-sheffield.co.uk/nhbc-accepted-fire-rated-structural-glass-balustrade' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE\src\Http\ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE\src\Http\ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE\src\Http\Server.php, line 141
require - ROOT\webroot\index.php, line 40
[main] - ROOT\index.php, line 16
Error: Call to a member function allow() on bool
E:\websites\ami\vendor\cakephp\cakephp\src\Controller\Controller.php
toggle arguments
if ( $components !== null ) {
$this -> components ( $components );
}
$this -> initialize ();
$this -> _mergeControllerVars ();
$this -> _loadComponents ();
$this -> getEventManager ()-> on ( $this );
E:\websites\ami\vendor\cakephp\cakephp\src\Http\ControllerFactory.php
toggle arguments
$this -> missingController ( $request );
}
/** @var \Cake\Controller\Controller $controller */
$controller = $reflection -> newInstance ( $request , $response );
return $controller ;
}
E:\websites\ami\vendor\cakephp\cakephp\src\Http\ActionDispatcher.php
toggle arguments
// event handler if there is one.
if ( $beforeEvent -> getData ( 'controller' ) instanceof Controller ) {
$controller = $beforeEvent -> getData ( 'controller' );
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if ( $request -> getParam ( 'return' )) {
E:\websites\ami\vendor\cakephp\cakephp\src\Http\BaseApplication.php
toggle arguments
* @return \ Psr \ Http \ Message \ ResponseInterface
*/
public function __invoke ( ServerRequestInterface $request , ResponseInterface $response , $next )
{
return $this -> getDispatcher ()-> dispatch ( $request , $response );
}
/**
* Get the ActionDispatcher .
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Middleware\CsrfProtectionMiddleware.php
toggle arguments
$token = $this -> _createToken ();
$request = $this -> _addTokenToRequest ( $token , $request );
$response = $this -> _addTokenCookie ( $token , $request , $response );
return $next ( $request , $response );
}
$request = $this -> _validateAndUnsetTokenField ( $request );
return $next ( $request , $response );
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
{
$this -> middleware = $middleware ;
$this -> index = 0 ;
return $this -> __invoke ( $request , $response );
}
/**
* @ param \ Psr \ Http \ Message \ ServerRequestInterface $request The server request
E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\RoutingMiddleware.php
toggle arguments
$matching [] = $next ;
$middleware = new MiddlewareQueue ( $matching );
$runner = new Runner ();
return $runner -> run ( $middleware , $request , $response );
}
}
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
E:\websites\ami\vendor\cakephp\cakephp\src\Routing\Middleware\AssetMiddleware.php
toggle arguments
public function __invoke ( $request , $response , $next )
{
$url = $request -> getUri ()-> getPath ();
if ( strpos ( $url , '..' ) !== false || strpos ( $url , '.' ) === false ) {
return $next ( $request , $response );
}
if ( strpos ( $url , '/.' ) !== false ) {
return $next ( $request , $response );
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
E:\websites\ami\vendor\cakephp\cakephp\src\Error\Middleware\ErrorHandlerMiddleware.php
toggle arguments
*/
public function __invoke ( $request , $response , $next )
{
try {
return $next ( $request , $response );
} catch ( Throwable $exception ) {
return $this -> handleException ( $exception , $request , $response );
} catch ( Exception $exception ) {
return $this -> handleException ( $exception , $request , $response );
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Runner.php
toggle arguments
{
$this -> middleware = $middleware ;
$this -> index = 0 ;
return $this -> __invoke ( $request , $response );
}
/**
* @ param \ Psr \ Http \ Message \ ServerRequestInterface $request The server request
E:\websites\ami\vendor\cakephp\cakephp\src\Http\Server.php
toggle arguments
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$middleware -> add ( $this -> app );
$response = $this -> runner -> run ( $middleware , $request , $response );
if (!( $response instanceof ResponseInterface )) {
throw new RuntimeException ( sprintf (
'Application did not create a response. Got "%s" instead.' ,
E:\websites\ami\webroot\index.php
toggle arguments
// Bind your application to the server.
$server = new Server (new Application ( dirname ( __DIR__ ) . '/config' ));
// Run the request/response through the application and emit the response.
$server -> emit ( $server -> run ());
E:\websites\ami\index.php
toggle arguments
* @ since 0.10.0
* @ license https : //opensource.org/licenses/mit-license.php MIT License
*/
require 'webroot' . DIRECTORY_SEPARATOR . 'index.php' ;
'E:\websites\ami\webroot\index.php'
Error in:
ROOT\src\Controller\PagesController.php, line 35
If you want to customize this error message, create
src\Template\Error\error500.ctp
toggle vendor stack frames
〉 App\Controller\PagesController->initialize
CORE\src\Controller\Controller.php, line 273
〉 Cake\Controller\Controller->__construct
[internal function]
〉 ReflectionClass->newInstance
CORE\src\Http\ControllerFactory.php, line 47
〉 Cake\Http\ControllerFactory->create
CORE\src\Http\ActionDispatcher.php, line 91
〉 Cake\Http\ActionDispatcher->dispatch
CORE\src\Http\BaseApplication.php, line 235
〉 Cake\Http\BaseApplication->__invoke
CORE\src\Http\Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE\src\Http\Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE\src\Http\Middleware\CsrfProtectionMiddleware.php, line 104
〉 Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke
CORE\src\Http\Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE\src\Http\Runner.php, line 51
〉 Cake\Http\Runner->run
CORE\src\Routing\Middleware\RoutingMiddleware.php, line 168
〉 Cake\Routing\Middleware\RoutingMiddleware->__invoke
CORE\src\Http\Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE\src\Routing\Middleware\AssetMiddleware.php, line 88
〉 Cake\Routing\Middleware\AssetMiddleware->__invoke
CORE\src\Http\Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE\src\Error\Middleware\ErrorHandlerMiddleware.php, line 96
〉 Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke
CORE\src\Http\Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE\src\Http\Runner.php, line 51
〉 Cake\Http\Runner->run
CORE\src\Http\Server.php, line 98
〉 Cake\Http\Server->run
ROOT\webroot\index.php, line 40
〉 require
ROOT\index.php, line 16