add nova
This commit is contained in:
33
nova/src/Events/StartedImpersonating.php
Normal file
33
nova/src/Events/StartedImpersonating.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Nova\Events;
|
||||
|
||||
class StartedImpersonating
|
||||
{
|
||||
/**
|
||||
* The impersonator user.
|
||||
*
|
||||
* @var \Illuminate\Contracts\Auth\Authenticatable
|
||||
*/
|
||||
public $impersonator;
|
||||
|
||||
/**
|
||||
* The impersonated user.
|
||||
*
|
||||
* @var \Illuminate\Contracts\Auth\Authenticatable
|
||||
*/
|
||||
public $impersonated;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param \Illuminate\Contracts\Auth\Authenticatable $impersonator
|
||||
* @param \Illuminate\Contracts\Auth\Authenticatable $impersonated
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($impersonator, $impersonated)
|
||||
{
|
||||
$this->impersonator = $impersonator;
|
||||
$this->impersonated = $impersonated;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user