Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/publisher/DivinerPublisher.php
| <?php | <?php | ||||
| abstract class DivinerPublisher extends Phobject { | abstract class DivinerPublisher extends Phobject { | ||||
| private $atomCache; | private $atomCache; | ||||
| private $atomGraphHashToNodeHashMap; | private $atomGraphHashToNodeHashMap; | ||||
| private $atomMap = array(); | private $atomMap = array(); | ||||
| private $renderer; | private $renderer; | ||||
| private $config; | private $config; | ||||
| private $symbolReverseMap; | private $symbolReverseMap; | ||||
| private $dropCaches; | private $dropCaches; | ||||
| private $repositoryPHID; | |||||
| final public function setDropCaches($drop_caches) { | final public function setDropCaches($drop_caches) { | ||||
| $this->dropCaches = $drop_caches; | $this->dropCaches = $drop_caches; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| final public function setRenderer(DivinerRenderer $renderer) { | final public function setRenderer(DivinerRenderer $renderer) { | ||||
| $renderer->setPublisher($this); | $renderer->setPublisher($this); | ||||
| ▲ Show 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | switch ($atom->getType()) { | ||||
| case DivinerAtom::TYPE_ARTICLE: | case DivinerAtom::TYPE_ARTICLE: | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| return true; | return true; | ||||
| } | } | ||||
| final public function getRepositoryPHID() { | |||||
| return $this->repositoryPHID; | |||||
| } | |||||
| final public function setRepositoryPHID($repository_phid) { | |||||
| $this->repositoryPHID = $repository_phid; | |||||
| return $this; | |||||
| } | |||||
| } | } | ||||