1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (http://nette.org)
5: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
6: */
7:
8: namespace Nette\Neon;
9:
10: use Nette;
11:
12:
13: /**
14: * Representation of 'foo(bar=1)' literal
15: */
16: class Entity extends \stdClass
17: {
18: /** @var mixed */
19: public $value;
20:
21: /** @var array */
22: public $attributes;
23:
24:
25: public function __construct($value = NULL, array $attrs = NULL)
26: {
27: $this->value = $value;
28: $this->attributes = (array) $attrs;
29: }
30:
31: }
32: