src/Core/Project.php
public function execute() {
        if (!count($this->config['files'])) {
            return;
        }
        
        if (isset($_POST) && count($_POST) > 0) {
            $this->createFiles();
            $this->returnZipFile();
        } else {
            echo $this->renderInputForm();
        }
    }
public function execute() {
        if (!count($this->config['files'])) {
            return;
        }
        
        if (isset($_POST) && count($_POST) > 0) {
            $this->createFiles();
            $this->returnZipFile();
        } else {
            echo $this->renderInputForm();
        }
    }
public function execute ( ) { if ( ! count ( $ this -> config [ 'files' ] ) ) { return ; } if ( isset ( $ _POST ) && count ( $ _POST ) > 0 ) { $ this -> createFiles ( ) ; $ this -> returnZipFile ( ) ; } else { echo $ this -> renderInputForm ( ) ; } }
Run the Page
1. If no config set, empty
2. If no POST params, show Webform
3. If POST params, generate and Zip Files

@return type
Run the Page 1 . If no config set empty 2 . If no POST params show Webform 3 . If POST params generate and Zip Files