final public function setDropCaches($drop_caches)
final public function setDropCaches($drop_caches)
Parameters
$drop_caches |
Return
wild |
final public function setRenderer($renderer)
final public function setRenderer($renderer)
Parameters
DivinerRenderer | $renderer |
Return
wild |
final public function getRenderer()
final public function getRenderer()
Return
wild |
final public function setConfig($config)
final public function setConfig($config)
Parameters
array | $config |
Return
wild |
final public function getConfig($key, $default)
final public function getConfig($key, $default)
Parameters
$key | ||
$default |
Return
wild |
final public function getConfigurationData()
final public function getConfigurationData()
Return
wild |
final public function setAtomCache($cache)
final public function setAtomCache($cache)
Parameters
DivinerAtomCache | $cache |
Return
wild |
final protected function getAtomFromGraphHash($graph_hash)
final protected function getAtomFromGraphHash($graph_hash)
Parameters
$graph_hash |
Return
wild |
final protected function getAtomFromNodeHash($node_hash)
final protected function getAtomFromNodeHash($node_hash)
Parameters
$node_hash |
Return
wild |
final protected function getSimilarAtoms($atom)
final protected function getSimilarAtoms($atom)
Parameters
DivinerAtom | $atom |
Return
wild |
final protected function getAtomSimilarIndex($atom)
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()
abstract protected function loadAllPublishedHashes()
Return
wild |
abstract protected function deleteDocumentsByHash($hashes)
abstract protected function deleteDocumentsByHash($hashes)
Parameters
array | $hashes |
Return
wild |
abstract protected function createDocumentsByHash($hashes)
abstract protected function createDocumentsByHash($hashes)
Parameters
array | $hashes |
Return
wild |
abstract public function findAtomByRef($ref)
abstract public function findAtomByRef($ref)
Parameters
DivinerAtomRef | $ref |
Return
wild |
final public function publishAtoms($hashes)
final public function publishAtoms($hashes)
Parameters
array | $hashes |
Return
wild |
final protected function shouldGenerateDocumentForAtom($atom)
final protected function shouldGenerateDocumentForAtom($atom)
Parameters
DivinerAtom | $atom |
Return
wild |
final public function getRepositoryPHID()
final public function getRepositoryPHID()
Return
wild |
final public function setRepositoryPHID($repository_phid)
final public function setRepositoryPHID($repository_phid)
Parameters
$repository_phid |
Return
wild |