View   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A generateBasePath() 0 6 1
1
<?php
2
3
namespace ByTIC\MediaLibraryModule\Application\Library\View;
4
5
use ByTIC\MediaLibraryModule\MediaModule;
6
use Nip\Utility\Traits\SingletonTrait;
7
8
/**
9
 * Class View
10
 * @package ByTIC\MediaLibraryModule\Application\Library\View
11
 */
12
class View extends \Nip\View
13
{
14
    use SingletonTrait;
15
16
    /** @noinspection PhpMissingParentCallCommonInspection
17
     *
18
     * @return string
19
     */
20
    protected function generateBasePath()
21
    {
22
        return MediaModule::basePath()
23
            . DIRECTORY_SEPARATOR . 'src'
24
            . DIRECTORY_SEPARATOR . 'resources'
25
            . DIRECTORY_SEPARATOR . 'views';
26
    }
27
}
28