Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/storage/DivinerLiveSymbol.php
| Show All 25 Lines | final class DivinerLiveSymbol extends DivinerDAO | ||||
| public function getConfiguration() { | public function getConfiguration() { | ||||
| return array( | return array( | ||||
| self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
| self::CONFIG_TIMESTAMPS => false, | self::CONFIG_TIMESTAMPS => false, | ||||
| ) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
| } | } | ||||
| public function generatePHID() { | public function generatePHID() { | ||||
| return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID(DivinerAtomPHIDType::TYPECONST); | ||||
| DivinerPHIDTypeAtom::TYPECONST); | |||||
| } | } | ||||
| public function getBook() { | public function getBook() { | ||||
| return $this->assertAttached($this->book); | return $this->assertAttached($this->book); | ||||
| } | } | ||||
| public function attachBook(DivinerLiveBook $book) { | public function attachBook(DivinerLiveBook $book) { | ||||
| $this->book = $book; | $this->book = $book; | ||||
| ▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines | |||||