Page MenuHomec4science

PhutilSearchQueryToken.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 14:18

PhutilSearchQueryToken.php

<?php
final class PhutilSearchQueryToken extends Phobject {
private $isQuoted;
private $value;
private $operator;
private $function;
public static function newFromDictionary(array $dictionary) {
$token = new self();
$token->isQuoted = $dictionary['quoted'];
$token->operator = $dictionary['operator'];
$token->value = $dictionary['value'];
$token->function = idx($dictionary, 'function');
return $token;
}
public function isQuoted() {
return $this->isQuoted;
}
public function getValue() {
return $this->value;
}
public function getOperator() {
return $this->operator;
}
public function getFunction() {
return $this->function;
}
}

Event Timeline