From 1d42345e07b2ef557de3c5049864e6885632b9e9 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Wed, 27 Apr 2016 14:22:59 +0200 Subject: End of comments --- server/core/Automating.php | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'server/core/Automating.php') diff --git a/server/core/Automating.php b/server/core/Automating.php index 2d8db00..697b666 100755 --- a/server/core/Automating.php +++ b/server/core/Automating.php @@ -14,21 +14,31 @@ include("Network.php"); include("Compute.php"); include("NetworkLayer3.php"); -class automating{ +/** +* automating Class of the back-end application +* +* Contains the different function to automate some action +* +*/ +class automating implements Core{ - /** @var App $app protected, contains the main app object */ + /** @var App $compute protected, contains a Core compute object */ protected $compute; + /** @var App $image protected, contains a Core image object */ protected $image; + /** @var App $network protected, contains a Core network object */ protected $network; + /** @var App $networkLayer3 protected, contains a Core networkLayer3 object */ protected $networkLayer3; + /** @var App $app protected, contains the main app object */ protected $app; /** - * Our library's app constructor for all server app objects + * automating class constructor * - * @param App $app the main app object, e.g. compute, image, network, etc. + * @param App $app the main app object * - * @return + * @return automating Object */ public function __construct($app){ $this->app = $app; @@ -43,7 +53,7 @@ class automating{ * * @param String $action name of another function of this class * - * @return NULL + * @return void */ public function action($action){ $this->{$action.""}(); @@ -57,7 +67,7 @@ class automating{ * @param String $serverName name ofthe new server * @param String $flavor kind of server * - * @return NULL + * @return void */ private function createPublicServer() { -- cgit v1.2.3