Passed
Push — master ( a58ef6...fc3cb3 )
by Alex
10:58 queued 01:08
created

TestingBaseService   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initCustomRoutes() 0 2 1
A actionTest() 0 3 1
1
<?php
2
namespace Mezon\Service\Tests;
3
4
use Mezon\Service\ServiceBase;
5
use Mezon\Service\ServiceBaseLogicInterface;
6
7
class TestingBaseService extends ServiceBase implements ServiceBaseLogicInterface
8
{
9
10
    public function actionTest(): string
11
    {
12
        return 'Action!';
13
    }
14
15
    protected function initCustomRoutes(): void
16
    {
17
        // we don't need to load custom routes
18
    }
19
}
20