27 lines
607 B
PHP
27 lines
607 B
PHP
<?php
|
|
|
|
|
|
namespace podmanImageManager;
|
|
|
|
|
|
use objectStructs\objectStructs;
|
|
|
|
class imageAnnotations extends objectStructs
|
|
{
|
|
/** @var string */
|
|
public $purpose;
|
|
/** @var string */
|
|
public $hostController;
|
|
/** @var string */
|
|
public $clientController;
|
|
/** @var array Web, Database, php-fpm, etc roles that the container will play */
|
|
public $roles = array();
|
|
public function __construct($Result = null)
|
|
{
|
|
parent::__construct($Result);
|
|
if ($this->roles and empty($this->roles) )
|
|
{
|
|
$this->roles = explode(',',$this->roles);
|
|
}
|
|
}
|
|
} |