ApplicationBridge   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 11
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A resolveExceptionHandler() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
5
namespace Xervice\Service\Lumen;
6
7
8
use Laravel\Lumen\Application;
9
use Xervice\Core\Factory\FactoryInterface;
10
use Xervice\Core\Locator\Dynamic\DynamicLocator;
11
use Xervice\Service\Lumen\ExceptionHandler\XerviceExceptionHandler;
12
13
/**
14
 * @method \Xervice\Service\ServiceFactory getFactory()
15
 */
16
class ApplicationBridge extends Application
17
{
18
    use DynamicLocator;
19
20
    /**
21
     * @return mixed
22
     * @throws \Core\Locator\Dynamic\ServiceNotParseable
23
     */
24
    protected function resolveExceptionHandler()
25
    {
26
        return $this->getFactory()->createXerviceExceptionHandler();
27
    }
28
29
}