Page MenuHomePhabricator

abstract class DivinerPublisher
Phabricator Technical Documentation (Diviner)

This class is not documented.

Methods

final public function setDropCaches($drop_caches)

This method is not documented.
Parameters
$drop_caches
Return
wild

final public function setRenderer($renderer)

This method is not documented.
Parameters
DivinerRenderer$renderer
Return
wild

final public function getRenderer()

This method is not documented.
Return
wild

final public function setConfig($config)

This method is not documented.
Parameters
array$config
Return
wild

final public function getConfig($key, $default)

This method is not documented.
Parameters
$key
$default
Return
wild

final public function getConfigurationData()

This method is not documented.
Return
wild

final public function setAtomCache($cache)

This method is not documented.
Parameters
DivinerAtomCache$cache
Return
wild

final protected function getAtomFromGraphHash($graph_hash)

This method is not documented.
Parameters
$graph_hash
Return
wild

final protected function getAtomFromNodeHash($node_hash)

This method is not documented.
Parameters
$node_hash
Return
wild

final protected function getSimilarAtoms($atom)

This method is not documented.
Parameters
DivinerAtom$atom
Return
wild

final protected function getAtomSimilarIndex($atom)

If a book contains multiple definitions of some atom, like some function f(), we assign them an arbitrary (but fairly stable) order and publish them as function/f/1/, function/f/2/, etc., or similar.

Parameters
DivinerAtom$atom
Return
wild

abstract protected function loadAllPublishedHashes()

This method is not documented.
Return
wild

abstract protected function deleteDocumentsByHash($hashes)

This method is not documented.
Parameters
array$hashes
Return
wild

abstract protected function createDocumentsByHash($hashes)

This method is not documented.
Parameters
array$hashes
Return
wild

abstract public function findAtomByRef($ref)

This method is not documented.
Parameters
DivinerAtomRef$ref
Return
wild

final public function publishAtoms($hashes)

This method is not documented.
Parameters
array$hashes
Return
wild

final protected function shouldGenerateDocumentForAtom($atom)

This method is not documented.
Parameters
DivinerAtom$atom
Return
wild

final public function getRepositoryPHID()

This method is not documented.
Return
wild

final public function setRepositoryPHID($repository_phid)

This method is not documented.
Parameters
$repository_phid
Return
wild