1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
6: */
7:
8: namespace Nette\Utils\PhpGenerator;
9:
10: use Nette;
11:
12:
13: /**
14: * PHP literal value.
15: *
16: * @author David Grudl
17: */
18: class PhpLiteral
19: {
20: /** @var string */
21: public $value = '';
22:
23:
24: public function __construct($value)
25: {
26: $this->value = (string) $value;
27: }
28:
29: }
30: