App\Events\GetPlayerJson::__construct PHP Метод

__construct() публичный Метод

Create a new event instance.
public __construct ( Player $player, $api_type ) : void
$player app\models\Player
Результат void
    public function __construct(Player $player, $api_type)
    {
        $this->player = $player;
        $this->api_type = $api_type;
    }
GetPlayerJson