123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace Doctrine\Common\Collections\Expr;
- class Value implements Expression
- {
- /** @var mixed */
- private $value;
- /**
- * @param mixed $value
- */
- public function __construct($value)
- {
- $this->value = $value;
- }
- /**
- * @return mixed
- */
- public function getValue()
- {
- return $this->value;
- }
- /**
- * {@inheritDoc}
- */
- public function visit(ExpressionVisitor $visitor)
- {
- return $visitor->walkValue($this);
- }
- }
|