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: 29: 30: 31: 32: 33: 
<?php
namespace Omeka\File\Store;

/**
 * Interface for a store of files.
 *
 * File stores abstract over simple file operations.
 */
interface StoreInterface
{
    /**
     * Store a file.
     *
     * @param string $source Local path to the file to store
     * @param string $storagePath Storage path to store at
     */
    public function put($source, $storagePath);

    /**
     * Delete a stored file.
     *
     * @param string $storagePath Storage path for file
     */
    public function delete($storagePath);

    /**
     * Get the URI for a stored file.
     *
     * @param string $storagePath Storage path for file
     */
    public function getUri($storagePath);
}