source:
pro-violet-viettel/sourcecode/application/libraries/Doctrine/ORM/Query/AST/Literal.php
@
345
Last change on this file since 345 was 345, checked in by quyenla, 11 years ago | |
---|---|
File size: 393 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | namespace Doctrine\ORM\Query\AST; |
4 | |
5 | class Literal extends Node |
6 | { |
7 | const STRING = 1; |
8 | const BOOLEAN = 2; |
9 | const NUMERIC = 3; |
10 | |
11 | public $type; |
12 | public $value; |
13 | |
14 | public function __construct($type, $value) |
15 | { |
16 | $this->type = $type; |
17 | $this->value = $value; |
18 | } |
19 | |
20 | public function dispatch($walker) |
21 | { |
22 | return $walker->walkLiteral($this); |
23 | } |
24 | } |
Note: See TracBrowser
for help on using the repository browser.