Passed
Pull Request — master (#300)
by Arnaud
15:59
created

Template::getTemplate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LAG\AdminBundle\View\Template;
6
7
/**
8
 * This is a value object to encapsulate Twig template values.
9
 */
10
class Template
11
{
12
    private string $template;
13
    private string $base;
14
15
    public function __construct(string $template, string $base)
16
    {
17
        $this->template = $template;
18
        $this->base = $base;
19
    }
20
21
    public function getTemplate(): string
22
    {
23
        return $this->template;
24
    }
25
26
    public function getBase(): string
27
    {
28
        return $this->base;
29
    }
30
}
31