*/ interface interface_cache { /** * shell store a value * * @param string $id * @param mixed $value * @author Christian Fraß */ function set( string $id, $value ) : void ; /** * shall tell if a value is set * * @param string $id * @return bool * @author Christian Fraß */ function has( string $id ) : bool ; /** * shall fetch a stored value * * @param string $id * @return mixed * @author Christian Fraß */ function fetch( string $id ) ; /** * shall remove all stored values * * @author Christian Fraß */ function clear( ) : void ; }