Completed
Pull Request — master (#470)
by Claus
01:32
created

SequencingException::getByte()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
namespace TYPO3Fluid\Fluid\Core\Parser;
4
5
/*
6
 * This file belongs to the package "TYPO3 Fluid".
7
 * See LICENSE.txt that was shipped with this package.
8
 */
9
10
/**
11
 * Sequencing exception thrown by Sequencer
12
 */
13
class SequencingException extends Exception
14
{
15
    protected $excerpt = '';
16
17
    protected $byte = 0;
18
19
    protected $file = '';
20
21
    public function getExcerpt(): string
22
    {
23
        return $this->excerpt;
24
    }
25
26
    public function setExcerpt(string $excerpt): void
27
    {
28
        $this->excerpt = $excerpt;
29
    }
30
31
    public function getByte(): int
32
    {
33
        return $this->byte;
34
    }
35
36
    public function setByte(int $byte): void
37
    {
38
        $this->byte = $byte;
39
    }
40
41
    public function setLine($line): void
42
    {
43
        $this->line = $line;
44
    }
45
46
    public function setFile(string $file): void
47
    {
48
        $this->file = $file;
49
    }
50
}
51