blessing-skin-server/app/Events/GetPlayerJson.php

28 lines
425 B
PHP
Raw Normal View History

2016-08-29 15:28:20 +08:00
<?php
namespace App\Events;
use App\Models\Player;
use Illuminate\Queue\SerializesModels;
class GetPlayerJson extends Event
{
use SerializesModels;
public $player;
public $api_type;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(Player $player, $api_type)
{
$this->player = $player;
$this->api_type = $api_type;
}
}