Completed
Branch FET/11412/legacy-middleware (4c3e4a)
by
unknown
93:26 queued 80:46
created

ObiWanKenobiware::handleRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 5
rs 9.4285
1
<?php
2
3
namespace EventEspresso\core;
4
5
use EventEspresso\core\services\request\middleware\Middleware;
6
use EventEspresso\core\services\request\RequestInterface;
7
use EventEspresso\core\services\request\ResponseInterface;
8
9
class ObiWanKenobiware extends Middleware
10
{
11
    public function handleRequest(RequestInterface $request, ResponseInterface $response)
12
    {
13
        \EE_Error::add_attention('Hello There!');
14
        return $this->processRequestStack($request, $response);
15
    }
16
}
17