Parcourir la source

Move info to base

Jaap Marcus il y a 5 ans
Parent
commit
33f55b62f8

+ 4 - 1
web/src/app/WebApp/Installers/BaseSetup.php

@@ -14,7 +14,10 @@ abstract class BaseSetup implements InstallerInterface {
 
     protected $domain;
     protected $extractsubdir;
-
+    
+    public function info(){
+        return $this -> appInfo;
+    }
     public function __construct($domain, HestiaApp $appcontext)
     {
         if(filter_var($domain, FILTER_VALIDATE_DOMAIN) === false) {

+ 0 - 4
web/src/app/WebApp/Installers/Drupal/DrupalSetup.php

@@ -24,10 +24,6 @@ class DrupalSetup extends BaseSetup {
            
         ],
     ];
-    
-    public function info(){
-        return $this -> appInfo;
-    }
 
     public function install(array $options=null) : bool
     {

+ 0 - 4
web/src/app/WebApp/Installers/Joomla/JoomlaSetup.php

@@ -24,10 +24,6 @@ class JoomlaSetup extends BaseSetup {
         
         ],
     ];
-    
-    public function info(){
-        return $this -> appInfo;
-    }
 
     public function install(array $options=null) : bool
     {

+ 0 - 4
web/src/app/WebApp/Installers/Laravel/LaravelSetup.php

@@ -24,10 +24,6 @@ class LaravelSetup extends BaseSetup {
             'composer' => [ 'src' => 'laravel/laravel', 'dst' => '/' ],
         ],
     ];
-    
-    public function info(){
-        return $this -> appInfo;
-    }
 
     public function install(array $options=null) : bool
     {

+ 0 - 4
web/src/app/WebApp/Installers/Opencart/OpencartSetup.php

@@ -29,10 +29,6 @@ class OpencartSetup extends BaseSetup {
         ],
     ];
     
-    public function info(){
-        return $this -> appInfo;
-    }
-    
     public function install(array $options = null) : bool
     {
         parent::install($options);

+ 0 - 4
web/src/app/WebApp/Installers/Prestashop/PrestashopSetup.php

@@ -30,10 +30,6 @@ class PrestashopSetup extends BaseSetup {
         ],
 
     ];
-    
-    public function info(){
-        return $this -> appInfo;
-    }
 
     public function install(array $options=null) : bool
     {

+ 0 - 4
web/src/app/WebApp/Installers/Symfony/SymfonySetup.php

@@ -24,10 +24,6 @@ class SymfonySetup extends BaseSetup {
             'composer' => [ 'src' => 'symfony/website-skeleton', 'dst' => '/' ],
         ],
     ];
-    
-    public function info(){
-        return $this -> appInfo;
-    }
 
     public function install(array $options=null) : bool
     {

+ 0 - 4
web/src/app/WebApp/Installers/Wordpress/WordpressSetup.php

@@ -35,10 +35,6 @@ class WordpressSetup extends BaseSetup {
         
     ];
     
-    public function info(){
-        return $this -> appInfo;
-    }
-    
     public function install(array $options = null)
     {
         parent::install($options);