55 lines
671 B
PHP
55 lines
671 B
PHP
|
<?php
|
||
|
|
||
|
namespace alveolata\cache;
|
||
|
|
||
|
// require_once(DIR_ALVEOLATA . '/definitions.php');
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @param string $id
|
||
|
* @param mixed $value
|
||
|
* @author Christian Fraß <frass@greenscale.de>
|
||
|
*/
|
||
|
function none_set(
|
||
|
string $id,
|
||
|
$value
|
||
|
) : void
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @param string $id
|
||
|
* @return bool
|
||
|
* @author Christian Fraß <frass@greenscale.de>
|
||
|
*/
|
||
|
function none_has(
|
||
|
string $id
|
||
|
) : bool
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @param string $id
|
||
|
* @return mixed
|
||
|
* @author Christian Fraß <frass@greenscale.de>
|
||
|
*/
|
||
|
function none_fetch(
|
||
|
string $id
|
||
|
)
|
||
|
{
|
||
|
throw (new \Exception('not available'));
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @author Christian Fraß <frass@greenscale.de>
|
||
|
*/
|
||
|
function none_clear(
|
||
|
) : void
|
||
|
{
|
||
|
}
|
||
|
|