Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/query/PhabricatorFileQuery.php
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | public function withNames(array $names) { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function withIsPartial($partial) { | public function withIsPartial($partial) { | ||||
$this->isPartial = $partial; | $this->isPartial = $partial; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function withNameNgrams($ngrams) { | |||||
return $this->withNgramsConstraint( | |||||
id(new PhabricatorFileNameNgrams()), | |||||
$ngrams); | |||||
} | |||||
public function showOnlyExplicitUploads($explicit_uploads) { | public function showOnlyExplicitUploads($explicit_uploads) { | ||||
$this->explicitUploads = $explicit_uploads; | $this->explicitUploads = $explicit_uploads; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function needTransforms(array $transforms) { | public function needTransforms(array $transforms) { | ||||
$this->needTransforms = $transforms; | $this->needTransforms = $transforms; | ||||
return $this; | return $this; | ||||
▲ Show 20 Lines • Show All 282 Lines • Show Last 20 Lines |