mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-26 16:26:35 -06:00
43 lines
640 B
PHP
43 lines
640 B
PHP
<?php
|
|
|
|
|
|
namespace Firefly\Storage\User;
|
|
|
|
/**
|
|
* Interface UserRepositoryInterface
|
|
*
|
|
* @package Firefly\Storage\User
|
|
*/
|
|
interface UserRepositoryInterface
|
|
{
|
|
/**
|
|
* @param $array
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function register($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);
|
|
|
|
|
|
}
|