added email change strategies
This commit is contained in:
9
lib/User/Contracts/MailChangeStrategyInterface.php
Normal file
9
lib/User/Contracts/MailChangeStrategyInterface.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
namespace Da\User\Contracts;
|
||||
|
||||
interface MailChangeStrategyInterface extends StrategyInterface
|
||||
{
|
||||
const TYPE_INSECURE = 0;
|
||||
const TYPE_DEFAULT = 1;
|
||||
const TYPE_SECURE = 2;
|
||||
}
|
||||
@ -1,15 +1,10 @@
|
||||
<?php
|
||||
namespace Da\User\Contracts;
|
||||
|
||||
/**
|
||||
*
|
||||
* StrategyInterface.php
|
||||
*
|
||||
* Date: 3/12/16
|
||||
* Time: 16:23
|
||||
* @author Antonio Ramirez <hola@2amigos.us>
|
||||
*/
|
||||
interface StrategyInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user