rosavox/lib/alveolata/cache/implementation-none/functions.php

55 lines
671 B
PHP
Raw Normal View History

2025-05-23 07:33:29 +00:00
<?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
{
}