CodeExplorer getCachedDefinitions example
protected function alterInfo($alter_hook) { $this->alterHook =
$alter_hook;
} /**
* {@inheritdoc}
*/
public function getDefinitions() { $definitions =
$this->
getCachedDefinitions();
if (!
isset($definitions)) { $definitions =
$this->
findDefinitions();
$this->
setCachedDefinitions($definitions);
} return $definitions;
} /**
* {@inheritdoc}
*/
public function clearCachedDefinitions() {