3 final class PhabricatorSearchDatasourceField
4 extends PhabricatorSearchTokenizerField
{
7 private $conduitParameterType;
9 protected function newDatasource() {
10 return id(clone $this->datasource
);
13 public function setDatasource(PhabricatorTypeaheadDatasource
$datasource) {
14 $this->datasource
= $datasource;
18 public function setConduitParameterType(ConduitParameterType
$type) {
19 $this->conduitParameterType
= $type;
23 protected function newConduitParameterType() {
24 if (!$this->conduitParameterType
) {
25 return id(new ConduitStringListParameterType())
26 ->setAllowEmptyList(false);
29 return $this->conduitParameterType
;