mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
DibiTranslator: temporary removed delimite() cache [Closes #21]
This commit is contained in:
@@ -55,7 +55,6 @@ final class DibiTranslator extends DibiObject
|
|||||||
public function __construct(IDibiDriver $driver)
|
public function __construct(IDibiDriver $driver)
|
||||||
{
|
{
|
||||||
$this->driver = $driver;
|
$this->driver = $driver;
|
||||||
$this->identifiers = new DibiLazyStorage(array($this, 'delimite'));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -68,6 +67,7 @@ final class DibiTranslator extends DibiObject
|
|||||||
*/
|
*/
|
||||||
public function translate(array $args)
|
public function translate(array $args)
|
||||||
{
|
{
|
||||||
|
$this->identifiers = new DibiLazyStorage(array($this, 'delimite'));
|
||||||
$args = array_values($args);
|
$args = array_values($args);
|
||||||
while (count($args) === 1 && is_array($args[0])) { // implicit array expansion
|
while (count($args) === 1 && is_array($args[0])) { // implicit array expansion
|
||||||
$args = array_values($args[0]);
|
$args = array_values($args[0]);
|
||||||
|
Reference in New Issue
Block a user