server creation wip
This commit is contained in:
15
app/Data/ServerProviders/CreatedServer.php
Normal file
15
app/Data/ServerProviders/CreatedServer.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Data\ServerProviders;
|
||||
|
||||
class CreatedServer
|
||||
{
|
||||
public function __construct(
|
||||
public string $name,
|
||||
public string $rootPassword,
|
||||
public string $id,
|
||||
public string $status,
|
||||
public string $ipv4,
|
||||
public string $ipv6,
|
||||
) {}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ class ServerType
|
||||
/**
|
||||
* @param string $name The name of the server type
|
||||
* @param int $cores The number of cores
|
||||
* @param int $memory The amount of memory in MB
|
||||
* @param int $memory The amount of memory in GB
|
||||
* @param int $disk The amount of disk space in GB
|
||||
*/
|
||||
public function __construct(
|
||||
|
||||
Reference in New Issue
Block a user