2016-10-30 14:12:22 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
|
|
|
class PlayerWillBeAdded extends Event
|
|
|
|
{
|
|
|
|
public $playerName;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
2018-02-16 16:25:35 +08:00
|
|
|
* @param string $playerName
|
2016-10-30 14:12:22 +08:00
|
|
|
* @return void
|
|
|
|
*/
|
2018-02-16 16:25:35 +08:00
|
|
|
public function __construct($playerName)
|
2016-10-30 14:12:22 +08:00
|
|
|
{
|
2018-02-16 16:25:35 +08:00
|
|
|
$this->playerName = $playerName;
|
2016-10-30 14:12:22 +08:00
|
|
|
}
|
|
|
|
}
|