TestApplication2   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadRoutesFromConfig() 0 3 1
1
<?php
2
3
namespace Mezon\Application\Tests;
4
5
/**
6
 * Application for testing purposes.
7
 */
8
class TestApplication2 extends \Mezon\Application\Application
9
{
10
11
    var $counter = 0;
12
13
    /**
14
     * Method loads routes from config file in *.php or *.json format
15
     *
16
     * @param string $configPath
17
     *            Path of the config for routes
18
     */
19
    public function loadRoutesFromConfig(string $configPath): void
20
    {
21
        $this->counter ++;
22
    }
23
}
24