mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 13:55:44 -05:00
16 lines
308 B
PHP
16 lines
308 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Application\Nests;
|
|
|
|
use Pterodactyl\Models\Nest;
|
|
|
|
class GetNestRequest extends GetNestsRequest
|
|
{
|
|
public function resourceExists(): bool
|
|
{
|
|
$nest = $this->route()->parameter('nest');
|
|
|
|
return $nest instanceof Nest && $nest->exists;
|
|
}
|
|
}
|