21 lines
438 B
PHP
21 lines
438 B
PHP
|
<?php
|
||
|
|
||
|
namespace Pterodactyl\Http\Requests\Api\Client\Servers\Network;
|
||
|
|
||
|
use Illuminate\Support\Collection;
|
||
|
use Pterodactyl\Models\Allocation;
|
||
|
use Pterodactyl\Models\Permission;
|
||
|
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
|
||
|
|
||
|
class NewAllocationRequest extends ClientApiRequest
|
||
|
{
|
||
|
/**
|
||
|
* @return string
|
||
|
*/
|
||
|
public function permission(): string
|
||
|
{
|
||
|
return Permission::ACTION_ALLOCATION_CREATE;
|
||
|
}
|
||
|
|
||
|
}
|