Passed
Pull Request — master (#78)
by
unknown
06:02
created

XslFoOutput::getTitleElementReceiptTemplate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput;
4
5
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\PlaceholderElementTemplate;
6
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\PrintableStylesTemplate;
7
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\TextElementTemplate;
8
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\PaymentPartTemplate;
9
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\TitleElementTemplate;
10
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\TitleElementReceiptTemplate;
11
use Sprain\SwissQrBill\PaymentPart\Output\MarkupOutput\Template\XslFo\NewlineElementTemplate;
12
13
final class XslFoOutput extends AbstractMarkupOutput
14
{
15
    /**
16
     * @return string
17
     */
18
    function getPaymentPartTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
19
    {
20
        return PaymentPartTemplate::TEMPLATE;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    function getPlaceholderElementTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
27
    {
28
        return PlaceholderElementTemplate::TEMPLATE;
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    function getPrintableStylesTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
35
    {
36
        return PrintableStylesTemplate::TEMPLATE;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    function getTextElementTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
43
    {
44
        return TextElementTemplate::TEMPLATE;
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    function getTitleElementTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
51
    {
52
        return TitleElementTemplate::TEMPLATE;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    function getTitleElementReceiptTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
59
    {
60
        return TitleElementReceiptTemplate::TEMPLATE;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    function getNewlineElementTemplate(): string
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
67
    {
68
        return NewlineElementTemplate::TEMPLATE;
69
    }
70
}
71