roles
This commit is contained in:
parent
37a4d956ef
commit
e02d2b2afd
|
@ -14,4 +14,14 @@ class imageAnnotations extends objectStructs
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue