1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 23:26:49 +02:00

renamed DibiLazyStorage to DibiHashMap

This commit is contained in:
David Grudl
2011-01-25 18:00:29 +01:00
parent 1ada6fab97
commit 9c52b8ea9d
6 changed files with 12 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ class DibiConnection extends DibiObject
/** @var bool Is connected? */
private $connected = FALSE;
/** @var DibiLazyStorage Substitutes for identifiers */
/** @var DibiHashMap Substitutes for identifiers */
private $substitutes;
@@ -122,7 +122,7 @@ class DibiConnection extends DibiObject
$this->setProfiler(new $class($profilerCfg));
}
$this->substitutes = new DibiLazyStorage(create_function('$expr', 'return ":$expr:";'));
$this->substitutes = new DibiHashMap(create_function('$expr', 'return ":$expr:";'));
if (!empty($config['substitutes'])) {
foreach ($config['substitutes'] as $key => $value) {
$this->substitutes->$key = $value;
@@ -582,7 +582,7 @@ class DibiConnection extends DibiObject
/**
* Returns substitution hashmap.
* @return DibiLazyStorage
* @return DibiHashMap
*/
public function getSubstitutes()
{