summaryrefslogtreecommitdiff
path: root/server/core/Automating.php
diff options
context:
space:
mode:
authorEoleDev <EoleDev@outlook.fr>2016-04-27 14:22:59 +0200
committerEoleDev <EoleDev@outlook.fr>2016-04-27 14:22:59 +0200
commit1d42345e07b2ef557de3c5049864e6885632b9e9 (patch)
treed84f1c5605bd0bcb2a35dfbe377ed60349c86532 /server/core/Automating.php
parent5263cf00a253891396c442fe5be29762fb8be50d (diff)
End of comments
Diffstat (limited to 'server/core/Automating.php')
-rwxr-xr-xserver/core/Automating.php24
1 files changed, 17 insertions, 7 deletions
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()
{