mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 17:42:33 +01:00
36 lines
691 B
PHP
36 lines
691 B
PHP
<?php
|
|
/**
|
|
* Pterodactyl - Panel
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
|
*
|
|
* This software is licensed under the terms of the MIT license.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
namespace Pterodactyl\Events\Server;
|
|
|
|
use Pterodactyl\Models\Server;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class Creating
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* The Eloquent model of the server.
|
|
*
|
|
* @var \Pterodactyl\Models\Server
|
|
*/
|
|
public $server;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param \Pterodactyl\Models\Server $server
|
|
*/
|
|
public function __construct(Server $server)
|
|
{
|
|
$this->server = $server;
|
|
}
|
|
}
|