-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathHtmlTagDto.php
More file actions
60 lines (45 loc) · 1.04 KB
/
HtmlTagDto.php
File metadata and controls
60 lines (45 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/
declare(strict_types=1);
namespace BitBag\CodingStandard\Twigcs\Dto;
final class HtmlTagDto
{
/** @var string */
private $tag = '';
/** @var string */
private $html = '';
/** @var int */
private $offset = 0;
public function getTag(): string
{
return $this->tag;
}
public function setTag(string $tag): self
{
$this->tag = $tag;
return $this;
}
public function getHtml(): string
{
return $this->html;
}
public function setHtml(string $html): self
{
$this->html = $html;
return $this;
}
public function getOffset(): int
{
return $this->offset;
}
public function setOffset(int $offset): self
{
$this->offset = $offset;
return $this;
}
}