mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
Detect if IP is SeedBox
This commit is contained in:
20
app/Exceptions/SeedBoxYesException.php
Normal file
20
app/Exceptions/SeedBoxYesException.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
class SeedBoxYesException extends NexusException
|
||||
{
|
||||
private int $id;
|
||||
|
||||
public function __construct($id)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user