mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 21:04:44 +02:00
49 lines
768 B
PHP
49 lines
768 B
PHP
<?php
|
|
|
|
namespace App\Models\Objects;
|
|
|
|
class DeploymentObject
|
|
{
|
|
private bool $dedicated = false;
|
|
|
|
private array $tags = [];
|
|
|
|
private array $ports = [];
|
|
|
|
public function isDedicated(): bool
|
|
{
|
|
return $this->dedicated;
|
|
}
|
|
|
|
public function setDedicated(bool $dedicated): self
|
|
{
|
|
$this->dedicated = $dedicated;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getPorts(): array
|
|
{
|
|
return $this->ports;
|
|
}
|
|
|
|
public function setPorts(array $ports): self
|
|
{
|
|
$this->ports = $ports;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTags(): array
|
|
{
|
|
return $this->tags;
|
|
}
|
|
|
|
public function setTags(array $tags): self
|
|
{
|
|
$this->tags = $tags;
|
|
|
|
return $this;
|
|
}
|
|
}
|