You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-06 13:02:55 +01:00
34 lines
578 B
PHP
34 lines
578 B
PHP
<?php
|
|
|
|
namespace Flasher\Prime\TestsStorage;
|
|
|
|
use Notify\Envelope;
|
|
|
|
interface StorageManagerInterface
|
|
{
|
|
/**
|
|
* @param \Notify\Envelope[] $envelopes
|
|
*/
|
|
public function flush($envelopes);
|
|
|
|
/**
|
|
* @return \Notify\Envelope[]
|
|
*/
|
|
public function all();
|
|
|
|
/**
|
|
* @param \Notify\Envelope $envelope
|
|
*/
|
|
public function add(Envelope $envelope);
|
|
|
|
/**
|
|
* @param \Notify\Envelope[] $envelopes
|
|
*/
|
|
public function remove($envelopes);
|
|
|
|
/**
|
|
* remove All notifications from storage
|
|
*/
|
|
public function clear();
|
|
}
|