Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/query/constraint/PhabricatorQueryConstraint.php
<?php | <?php | ||||
final class PhabricatorQueryConstraint extends Phobject { | final class PhabricatorQueryConstraint extends Phobject { | ||||
const OPERATOR_AND = 'and'; | const OPERATOR_AND = 'and'; | ||||
const OPERATOR_OR = 'or'; | const OPERATOR_OR = 'or'; | ||||
const OPERATOR_NOT = 'not'; | const OPERATOR_NOT = 'not'; | ||||
const OPERATOR_NULL = 'null'; | const OPERATOR_NULL = 'null'; | ||||
const OPERATOR_ANCESTOR = 'ancestor'; | |||||
private $operator; | private $operator; | ||||
private $value; | private $value; | ||||
public function __construct($operator, $value) { | public function __construct($operator, $value) { | ||||
$this->operator = $operator; | $this->operator = $operator; | ||||
$this->value = $value; | $this->value = $value; | ||||
} | } | ||||
Show All 20 Lines |