Completed
Pull Request — master (#470)
by Claus
01:59
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
    public function getExcerpt(): string
20
    {
21
        return $this->excerpt;
22
    }
23
24
    public function setExcerpt(string $excerpt): void
25
    {
26
        $this->excerpt = $excerpt;
27
    }
28
29
    public function getByte(): int
30
    {
31
        return $this->byte;
32
    }
33
34
    public function setByte(int $byte): void
35
    {
36
        $this->byte = $byte;
37
    }
38
}
39