Files
php-flasher/Storage/StorageInterface.php
T
KHOUBZA Younes 26d4ca787f update namespace
2020-12-03 09:15:47 +01:00

29 lines
466 B
PHP

<?php
namespace Flasher\Prime\Storage;
use Flasher\Prime\Envelope;
interface StorageInterface
{
/**
* @return Envelope[]
*/
public function all();
/**
* @param Envelope|Envelope[] $envelopes
*/
public function add($envelopes);
/**
* @param Envelope|Envelope[] $envelopes
*/
public function remove($envelopes);
/**
* Remove all notifications from the storage
*/
public function clear();
}