misc_pterodactyl-panel/app/Http/Requests/Api/Application/Eggs/StoreEggRequest.php

15 lines
328 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Http\Requests\Api\Application\Eggs;
use Pterodactyl\Models\Egg;
use Pterodactyl\Http\Requests\Api\Application\ApplicationApiRequest;
class StoreEggRequest extends ApplicationApiRequest
{
public function rules(array $rules = null): array
{
return $rules ?? Egg::getRules();
}
}