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

PassthroughSourceException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getSource() 0 4 1
A setSource() 0 4 1
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