Reformatted and checked everything. [skip ci]

This commit is contained in:
James Cole
2014-07-25 13:02:01 +02:00
parent bcd48f2e49
commit 30d5b88769
45 changed files with 980 additions and 330 deletions

View File

@@ -3,17 +3,47 @@
namespace Firefly\Storage\User;
/**
* Interface UserRepositoryInterface
*
* @package Firefly\Storage\User
*/
interface UserRepositoryInterface
{
/**
* @param $array
*
* @return mixed
*/
public function register($array);
/**
* @param $array
*
* @return mixed
*/
public function auth($array);
/**
* @param $reset
*
* @return mixed
*/
public function findByReset($reset);
/**
* @param $email
*
* @return mixed
*/
public function findByEmail($email);
/**
* @param \User $user
* @param $password
*
* @return mixed
*/
public function updatePassword(\User $user, $password);