final protected function stepDisabledProject()
    {
        Output::clear();
        Output::displayAsGreen("Welcome on App Manager.\n".
            "I'm assist you to disabled your app. Many question will ask you.\n".$this->stage[7], "none");
        if ($this->showEnabledAppsRegister() == false) {
            return ;
        }
        Output::outputAsReadLine("Which number ? : ", "none");
        $this->params['capp'] = $this->listener();

        while (!is_numeric($this->params['capp']) || !isset($this->params['applist'][$this->params['capp'] - 1])) {
            Output::displayAsRed("Your choose is incorrect. Please retry", "none", false);
            $this->showEnabledAppsRegister();
            Output::outputAsReadLine("Which number ? : ", "none");
            $this->params['capp'] = $this->listener();
        }
        $this->params['capp'] = $this->params['applist'][$this->params['capp'] - 1];

        Output::displayAsGreen(
            "Ok ! You choose ".$this->params['capp']." to be disabled",
            "none",
            false
        );
        $this->disabledAppProcess();
    }
final protected function stepDisabledProject()
    {
        Output::clear();
        Output::displayAsGreen("Welcome on App Manager.\n".
            "I'm assist you to disabled your app. Many question will ask you.\n".$this->stage[7], "none");
        if ($this->showEnabledAppsRegister() == false) {
            return ;
        }
        Output::outputAsReadLine("Which number ? : ", "none");
        $this->params['capp'] = $this->listener();

        while (!is_numeric($this->params['capp']) || !isset($this->params['applist'][$this->params['capp'] - 1])) {
            Output::displayAsRed("Your choose is incorrect. Please retry", "none", false);
            $this->showEnabledAppsRegister();
            Output::outputAsReadLine("Which number ? : ", "none");
            $this->params['capp'] = $this->listener();
        }
        $this->params['capp'] = $this->params['applist'][$this->params['capp'] - 1];

        Output::displayAsGreen(
            "Ok ! You choose ".$this->params['capp']." to be disabled",
            "none",
            false
        );
        $this->disabledAppProcess();
    }
final protected function stepDisabledProject ( ) { Output :: clear ( ) ; Output :: displayAsGreen ( "Welcome on App Manager.\n" . "I'm assist you to disabled your app. Many question will ask you.\n" . $ this -> stage [ 7 ] , "none" ) ; if ( $ this -> showEnabledAppsRegister ( ) == false ) { return ; } Output :: outputAsReadLine ( "Which number ? : " , "none" ) ; $ this -> params [ 'capp' ] = $ this -> listener ( ) ; while ( ! is_numeric ( $ this -> params [ 'capp' ] ) || ! isset ( $ this -> params [ 'applist' ] [ $ this -> params [ 'capp' ] - 1 ] ) ) { Output :: displayAsRed ( "Your choose is incorrect. Please retry" , "none" , false ) ; $ this -> showEnabledAppsRegister ( ) ; Output :: outputAsReadLine ( "Which number ? : " , "none" ) ; $ this -> params [ 'capp' ] = $ this -> listener ( ) ; } $ this -> params [ 'capp' ] = $ this -> params [ 'applist' ] [ $ this -> params [ 'capp' ] - 1 ] ; Output :: displayAsGreen ( "Ok ! You choose " . $ this -> params [ 'capp' ] . " to be disabled" , "none" , false ) ; $ this -> disabledAppProcess ( ) ; }
Disable an app
@throws Server500
Disable an app