*/ interface interface_storage/**/ { // type_key ~ string // type_value ~ map /** * @param type_value $value * @return type_key key * @author Christian Fraß */ function create( /*type_value */$value )/* : type_key*/ ; /** * @param type_key $key * @param type_value $value * @author Christian Fraß */ function update( /*type_key */$key, /*type_value */$value ) : void ; /** * @param type_key $key * @author Christian Fraß */ function delete( /*type_key */$key ) : void ; /** * @param type_key $key * @return type_value * @author Christian Fraß */ function read( /*type_key*/ $key )/* : type_value*/ ; /** * @param map $parameters * @return list * @author Christian Fraß */ function search( array $parameters ) : array ; } ?>