LoginAttemptRepository
class LoginAttemptRepository extends EntityRepository (View source)
Methods
Iterator|LoginAttempt[]|int
Iterator|LoginAttempt[]|int
Carbon
int|null
validateUser(mixed $user, bool $requireValue = false)
Validate a passed user value and resolve the ID
Details
Iterator|LoginAttempt[]|int
before(DateTime $before, User|int $user = null, bool $count = false)
Get a list of login attempts prior to a date
Iterator|LoginAttempt[]|int
after(DateTime $after, User|int $user = null, bool $count = false)
Get a list of login attempts after a given date
private Carbon
validateTimezone(DateTime $dateTime)
No description
private int|null
validateUser(mixed $user, bool $requireValue = false)
Validate a passed user value and resolve the ID