You are here

class Value in Plug 7

Hierarchy

Expanded class hierarchy of Value

1 file declares its use of Value
ExpressionBuilder.php in lib/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php
1 string reference to 'Value'
DocParser::Values in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
Values ::= Array | Value {"," Value}* [","]

File

lib/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Value.php, line 22

Namespace

Doctrine\Common\Collections\Expr
View source
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);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Value::$value private property
Value::getValue public function
Value::visit public function Overrides Expression::visit
Value::__construct public function