misc_pterodactyl-panel/app/Models/Objects/DeploymentObject.php
Matthew Penner cbcf62086f
Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00

48 lines
811 B
PHP

<?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;
}
}