22 lines
321 B
PHP
22 lines
321 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Player;
|
|
|
|
class PlayerWillBeDeleted extends Event
|
|
{
|
|
public $player;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Player $player
|
|
* @return void
|
|
*/
|
|
public function __construct(Player $player)
|
|
{
|
|
$this->player = $player;
|
|
}
|
|
}
|