Static Loader class was refactored into AntiTempmailRepo class.

Added LoaderInterface.
Added fromLoader creator for Storage.
This commit is contained in:
ErickSkrauch
2016-04-29 01:53:51 +03:00
parent b2b8a0438f
commit 7b82e48cdd
7 changed files with 150 additions and 85 deletions

12
src/LoaderInterface.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
namespace Ely\TempMailBuster;
interface LoaderInterface
{
/**
* Load data from some source and return array with strings
*
* @return array
*/
public function load();
}