1 | <?php |
||
8 | class Embedded |
||
9 | { |
||
10 | /** |
||
11 | * @var string|mixed |
||
12 | */ |
||
13 | private $content; |
||
14 | |||
15 | /** |
||
16 | * @var string|null |
||
17 | */ |
||
18 | private $xmlElementName; |
||
19 | |||
20 | /** |
||
21 | * @var Exclusion|null |
||
22 | */ |
||
23 | private $exclusion; |
||
24 | |||
25 | /** |
||
26 | * @param string|mixed $content |
||
27 | * @param string|null $xmlElementName |
||
28 | * @param Exclusion $exclusion |
||
29 | */ |
||
30 | public function __construct($content, $xmlElementName = null, Exclusion $exclusion = null) |
||
31 | { |
||
32 | $this->content = $content; |
||
33 | $this->xmlElementName = $xmlElementName; |
||
34 | $this->exclusion = $exclusion; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return mixed|string |
||
39 | */ |
||
40 | public function getContent() |
||
44 | |||
45 | /** |
||
46 | * @return null|string |
||
47 | */ |
||
48 | public function getXmlElementName() |
||
52 | |||
53 | /** |
||
54 | * @return Exclusion|null |
||
55 | */ |
||
56 | public function getExclusion() |
||
60 | } |
||
61 |