Passed
Push — master ( e689f4...c0f464 )
by Gabriel
12:33
created

View   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A generateBasePath() 0 5 1
1
<?php
2
3
namespace ByTIC\Payments\Application\Library\View;
4
5
use ByTIC\Payments\Utility\PaymentsAssets;
6
use Nip\Utility\Traits\SingletonTrait;
7
8
/**
9
 * Class View
10
 * @package ByTIC\Payments\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(): string
21
    {
22
        return PaymentsAssets::basePath()
23
            . DIRECTORY_SEPARATOR . 'resources'
24
            . DIRECTORY_SEPARATOR . 'views';
25
    }
26
}
27