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