summaryrefslogtreecommitdiff
path: root/server/core/Automating.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/core/Automating.php')
-rwxr-xr-xserver/core/Automating.php26
1 files changed, 18 insertions, 8 deletions
diff --git a/server/core/Automating.php b/server/core/Automating.php
index fb42702..27dd018 100755
--- a/server/core/Automating.php
+++ b/server/core/Automating.php
@@ -5,31 +5,41 @@
* @version 1.0 Initialisation of this file
* @since 1.0 Core application's file
*
-* @author Evan Pisani 'yogg at epsina . com' et bhupi
+* @author Evan Pisani 'yogg at epsina . com', bhupi
*
-* @todo Complete the functions with errors detection and finish the descriptions
*/
include("Image.php");
include("Network.php");
include("Compute.php");
include("NetworkLayer3.php");
+include("CoreInterface.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;
@@ -47,7 +57,7 @@ class automating{
* @return void
*/
public function action($action){
- $this->{$action.""}();
+ $this->{$action.""}();
}
/**