Blame view

app/Repositories/IUserRepository.php 379 Bytes
e77200db5   nologostudio.ru   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  <?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);
  }