Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/phid/DivinerAtomPHIDType.php
| <?php | <?php | ||||
| final class DivinerAtomPHIDType extends PhabricatorPHIDType { | final class DivinerAtomPHIDType extends PhabricatorPHIDType { | ||||
| const TYPECONST = 'ATOM'; | const TYPECONST = 'ATOM'; | ||||
| public function getTypeName() { | public function getTypeName() { | ||||
| return pht('Diviner Atom'); | return pht('Diviner Atom'); | ||||
| } | } | ||||
| public function newObject() { | public function newObject() { | ||||
| return new DivinerLiveSymbol(); | return new DivinerLiveSymbol(); | ||||
| } | } | ||||
| public function getTypeIcon() { | |||||
| return 'fa-cube'; | |||||
| } | |||||
| public function getPHIDTypeApplicationClass() { | public function getPHIDTypeApplicationClass() { | ||||
| return 'PhabricatorDivinerApplication'; | return 'PhabricatorDivinerApplication'; | ||||
| } | } | ||||
| protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
| PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
| array $phids) { | array $phids) { | ||||
| Show All 27 Lines | |||||