1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 
<?php

namespace SAREhub\Commons\Misc;

interface HashStorage
{

    public function open();

    public function close();

    /**
     * @param $id
     * @return string
     */
    public function findById($id);

    /**
     * @param array $hashes
     */
    public function insertMulti(array $hashes);

    /**
     * @param array $hashes
     */
    public function updateMulti(array $hashes);

}