34 lines
660 B
PHP
34 lines
660 B
PHP
<?php
|
|
|
|
namespace Illuminate\Auth\Events;
|
|
|
|
class Failed
|
|
{
|
|
/**
|
|
* The user the attempter was trying to authenticate as.
|
|
*
|
|
* @var \Illuminate\Contracts\Auth\Authenticatable|null
|
|
*/
|
|
public $user;
|
|
|
|
/**
|
|
* The credentials provided by the attempter.
|
|
*
|
|
* @var array
|
|
*/
|
|
public $credentials;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param \Illuminate\Contracts\Auth\Authenticatable|null $user
|
|
* @param array $credentials
|
|
* @return void
|
|
*/
|
|
public function __construct($user, $credentials)
|
|
{
|
|
$this->user = $user;
|
|
$this->credentials = $credentials;
|
|
}
|
|
}
|