Completed
Pull Request — master (#220)
by Claus
02:42
created

PassthroughSourceException::getSource()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace TYPO3Fluid\Fluid\Core\Parser;
3
4
/*
5
 * This file belongs to the package "TYPO3 Fluid".
6
 * See LICENSE.txt that was shipped with this package.
7
 */
8
9
/**
10
 * Exception which when thrown causes the template rendering
11
 * to output the full source of the Fluid template file rather
12
 * than allow it to be parsed.
13
 *
14
 * @api
15
 */
16
class PassthroughSourceException extends \TYPO3Fluid\Fluid\Core\Exception
17
{
18
    /**
19
     * @var string
20
     */
21
    protected $source;
22
23
    /**
24
     * @return string
25
     */
26
    public function getSource()
27
    {
28
        return $this->source;
29
    }
30
31
    /**
32
     * @param string $source
33
     */
34
    public function setSource($source)
35
    {
36
        $this->source = $source;
37
    }
38
}
39