first commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
c7c9106a-64a0-4ec0-b21f-64cd04140d89
|
||||
@@ -0,0 +1 @@
|
||||
2f48d8ce-54d1-4e74-a3d6-49fbc9f368c7
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
class LtCacheTableDataGateway
|
||||
{
|
||||
public $tableName;
|
||||
|
||||
public $ch;
|
||||
|
||||
public function add($key, $value, $ttl = 0)
|
||||
{
|
||||
return $this->ch->add($key, $value, $ttl, $this->tableName);
|
||||
}
|
||||
|
||||
public function del($key)
|
||||
{
|
||||
return $this->ch->del($key, $this->tableName);
|
||||
}
|
||||
|
||||
public function get($key)
|
||||
{
|
||||
return $this->ch->get($key, $this->tableName);
|
||||
}
|
||||
|
||||
public function update($key, $value, $ttl = 0)
|
||||
{
|
||||
return $this->ch->update($key, $value, $ttl, $this->tableName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user