/** * Adds a condition. * * @param string $name The name of the property to test. * @param string $value The value to test against. Not required for * existence tests. * @param string $action One of the ACTION_* constants. Describes the * operation to perform. * * @return self|Query The query object. */ protected function addWhere($name, $value, $action) { $this->words[] = array(static::sanitizeAction($action) . Message::sanitizeArgumentName($name), null === $value ? null : Message::sanitizeArgumentValue($value)); return $this; }