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

View::generateBasePath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 3
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 5
rs 10
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