Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/storage/PhabricatorPaste.php
<?php | <?php | ||||
final class PhabricatorPaste extends PhabricatorPasteDAO | final class PhabricatorPaste extends PhabricatorPasteDAO | ||||
implements | implements | ||||
PhabricatorSubscribableInterface, | PhabricatorSubscribableInterface, | ||||
PhabricatorTokenReceiverInterface, | PhabricatorTokenReceiverInterface, | ||||
PhabricatorFlaggableInterface, | PhabricatorFlaggableInterface, | ||||
PhabricatorMentionableInterface, | PhabricatorMentionableInterface, | ||||
PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
PhabricatorProjectInterface, | PhabricatorProjectInterface, | ||||
PhabricatorDestructibleInterface, | PhabricatorDestructibleInterface, | ||||
PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
PhabricatorSpacesInterface, | PhabricatorSpacesInterface, | ||||
PhabricatorConduitResultInterface { | PhabricatorConduitResultInterface, | ||||
PhabricatorFerretInterface, | |||||
PhabricatorFulltextInterface { | |||||
protected $title; | protected $title; | ||||
protected $authorPHID; | protected $authorPHID; | ||||
protected $filePHID; | protected $filePHID; | ||||
protected $language; | protected $language; | ||||
protected $parentPHID; | protected $parentPHID; | ||||
protected $viewPolicy; | protected $viewPolicy; | ||||
protected $editPolicy; | protected $editPolicy; | ||||
▲ Show 20 Lines • Show All 249 Lines • ▼ Show 20 Lines | /* -( PhabricatorConduitResultInterface )---------------------------------- */ | ||||
public function getConduitSearchAttachments() { | public function getConduitSearchAttachments() { | ||||
return array( | return array( | ||||
id(new PhabricatorPasteContentSearchEngineAttachment()) | id(new PhabricatorPasteContentSearchEngineAttachment()) | ||||
->setAttachmentKey('content'), | ->setAttachmentKey('content'), | ||||
); | ); | ||||
} | } | ||||
/* -( PhabricatorFerretInterface )----------------------------------------- */ | |||||
public function newFerretEngine() { | |||||
return new PhabricatorPasteFerretEngine(); | |||||
} | |||||
/* -( PhabricatorFulltextInterface )--------------------------------------- */ | |||||
public function newFulltextEngine() { | |||||
return new PhabricatorPasteFulltextEngine(); | |||||
} | |||||
} | } |