From e02d2b2afddb962a2be72aae0a36a0b8329a358b Mon Sep 17 00:00:00 2001 From: sbyrd Date: Fri, 4 Dec 2020 21:00:36 -0500 Subject: [PATCH] roles --- imageAnnotations.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/imageAnnotations.php b/imageAnnotations.php index 9676f4e..cd6b70f 100644 --- a/imageAnnotations.php +++ b/imageAnnotations.php @@ -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); + } + } } \ No newline at end of file