| 1 | <?php  | 
            ||
| 9 | class ScalarView implements ViewInterface  | 
            ||
| 10 | { | 
            ||
| 11 | private $value;  | 
            ||
| 12 | private $raw;  | 
            ||
| 13 | private $tag;  | 
            ||
| 14 | |||
| 15 | public function __construct($value, string $tag = null, bool $raw = false)  | 
            ||
| 16 |     { | 
            ||
| 17 | $this->value = $value;  | 
            ||
| 18 | $this->tag = $tag;  | 
            ||
| 19 | $this->raw = $raw;  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 | public function getTag()  | 
            ||
| 23 |     { | 
            ||
| 24 | return $this->tag;  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | public function getValue()  | 
            ||
| 31 | |||
| 32 | public function isRaw()  | 
            ||
| 33 |     { | 
            ||
| 36 | }  | 
            ||
| 37 |