IUserRepository.php
379 Bytes
<?php
namespace FootyRoom\Repositories;
use Closure;
interface IUserRepository
{
public function findOne(Closure $builder = null);
public function findByUsername($username);
public function failedAttempts($id);
public function recordLogin($id, $ip, $tracker);
public function recordFailedLogin($id, $ip);
public function clearFailedLogins($id);
}