public function ExpressionBuilder::contains in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php \Doctrine\Common\Collections\ExpressionBuilder::contains()
Parameters
string $field:
mixed $value:
Return value
File
- vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ ExpressionBuilder.php, line 162
Class
- ExpressionBuilder
- Builder for Expressions in the {@link Selectable} interface.
Namespace
Doctrine\Common\CollectionsCode
public function contains($field, $value) {
return new Comparison($field, Comparison::CONTAINS, new Value($value));
}