misc_pterodactyl-panel/app/Models/Objects/DeploymentObject.php

49 lines
811 B
PHP
Raw Permalink Normal View History

<?php
namespace Pterodactyl\Models\Objects;
class DeploymentObject
{
private bool $dedicated = false;
private array $locations = [];
private array $ports = [];
public function isDedicated(): bool
{
return $this->dedicated;
}
public function setDedicated(bool $dedicated): self
{
$this->dedicated = $dedicated;
return $this;
}
public function getLocations(): array
{
return $this->locations;
}
public function setLocations(array $locations): self
{
$this->locations = $locations;
return $this;
}
public function getPorts(): array
{
return $this->ports;
}
public function setPorts(array $ports): self
{
$this->ports = $ports;
return $this;
}
}