public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function __construct($cache_directory)
public function __construct($cache_directory)
Parameters
$cache_directory | ||
$name |
Return
this | //Implicit.// |
protected function getCache()Inherited
protected function getCache()
Inherited
Return
wild |
public function delete()
public function delete()
Return
wild |
protected function getHashKey($hash)Inherited
protected function getHashKey($hash)
Inherited
DivinerDiskCache
Convert a long-form hash key like ccbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaN into a shortened directory form, like cc/bb/aaaaaaaaN. In conjunction with PhutilDirectoryKeyValueCache, this gives us nice directories inside .divinercache instead of a million hash files with huge names at the top level.
Parameters
$hash |
Return
wild |
public function getFileHashMap()
public function getFileHashMap()
Return
wild |
public function addFileHash($file_hash, $atom_hash)
public function addFileHash($file_hash, $atom_hash)
Parameters
$file_hash | ||
$atom_hash |
Return
wild |
public function fileHashExists($file_hash)
public function fileHashExists($file_hash)
Parameters
$file_hash |
Return
wild |
public function deleteFileHash($file_hash)
public function deleteFileHash($file_hash)
Parameters
$file_hash |
Return
wild |
public function getAtomMap()
public function getAtomMap()
Return
wild |
public function getAtom($atom_hash)
public function getAtom($atom_hash)
Parameters
$atom_hash |
Return
wild |
public function addAtom($atom)
public function addAtom($atom)
Parameters
array | $atom |
Return
wild |
public function deleteAtomHash($atom_hash)
public function deleteAtomHash($atom_hash)
Parameters
$atom_hash |
Return
wild |
public function saveAtoms()
public function saveAtoms()
Return
wild |
public function getSymbolMap()
public function getSymbolMap()
Return
wild |
public function addSymbol($atom_hash, $symbol_hash)
public function addSymbol($atom_hash, $symbol_hash)
Parameters
$atom_hash | ||
$symbol_hash |
Return
wild |
public function deleteSymbol($atom_hash)
public function deleteSymbol($atom_hash)
Parameters
$atom_hash |
Return
wild |
public function saveSymbols()
public function saveSymbols()
Return
wild |
public function getEdgeMap()
public function getEdgeMap()
Return
wild |
public function getEdgesWithDestination($symbol_hash)
public function getEdgesWithDestination($symbol_hash)
Parameters
$symbol_hash |
Return
wild |
public function addEdges($node_hash, $symbol_hash_list)
public function addEdges($node_hash, $symbol_hash_list)
Parameters
$node_hash | ||
array | $symbol_hash_list |
Return
wild |
public function deleteEdges($node_hash)
public function deleteEdges($node_hash)
Parameters
$node_hash |
Return
wild |
public function saveEdges()
public function saveEdges()
Return
wild |
public function getGraphMap()
public function getGraphMap()
Return
wild |
public function deleteGraph($node_hash)
public function deleteGraph($node_hash)
Parameters
$node_hash |
Return
wild |
public function addGraph($node_hash, $graph_hash)
public function addGraph($node_hash, $graph_hash)
Parameters
$node_hash | ||
$graph_hash |
Return
wild |
public function saveGraph()
public function saveGraph()
Return
wild |