2016-08-30 08:55:02 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
2016-10-16 18:16:15 +08:00
|
|
|
use App\Models\Player;
|
2016-08-30 08:55:02 +08:00
|
|
|
|
|
|
|
class PlayerWasAdded extends Event
|
|
|
|
{
|
|
|
|
public $player;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2016-10-16 18:16:15 +08:00
|
|
|
public function __construct(Player $player)
|
2016-08-30 08:55:02 +08:00
|
|
|
{
|
|
|
|
$this->player = $player;
|
|
|
|
}
|
|
|
|
}
|