14 lines
328 B
PHP
14 lines
328 B
PHP
<?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();
|
|
}
|
|
}
|