railt/storage

View on GitHub
src/Storage/Storage.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * This file is part of Railt package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
declare(strict_types=1);

namespace Railt\Storage;

use Railt\Io\Readable;

/**
 * Interface Storage
 */
interface Storage
{
    /**
     * @param Readable $readable
     * @param \Closure $then
     * @return object|\Railt\SDL\Contracts\Document
     */
    public function remember(Readable $readable, \Closure $then);
}