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: * @package Nette\Utils\PhpGenerator
7: */
8:
9:
10:
11: /**
12: * PHP literal value.
13: *
14: * @author David Grudl
15: * @package Nette\Utils\PhpGenerator
16: */
17: class PhpLiteral
18: {
19: /** @var string */
20: public $value = '';
21:
22:
23: public function __construct($value)
24: {
25: $this->value = (string) $value;
26: }
27:
28: }
29: