3 abstract class PhabricatorSearchEngineAttachment
extends Phobject
{
5 private $attachmentKey;
9 final public function setViewer($viewer) {
10 $this->viewer
= $viewer;
14 final public function getViewer() {
18 final public function setSearchEngine(
19 PhabricatorApplicationSearchEngine
$engine) {
20 $this->searchEngine
= $engine;
24 final public function getSearchEngine() {
25 return $this->searchEngine
;
28 public function setAttachmentKey($attachment_key) {
29 $this->attachmentKey
= $attachment_key;
33 public function getAttachmentKey() {
34 return $this->attachmentKey
;
37 abstract public function getAttachmentName();
38 abstract public function getAttachmentDescription();
40 public function willLoadAttachmentData($query, $spec) {
44 public function loadAttachmentData(array $objects, $spec) {
48 abstract public function getAttachmentForObject($object, $data, $spec);