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

ObiWanKenobiware   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A handleRequest() 0 5 1
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