SolveConsole/Controllers/GenController.php
public function cvAction() {
        $params         = array();
        $params['name'] = ucfirst($this->getFirstParamOrAsk('Enter controller\'s name'));
        $params['app']  = ucfirst($this->ask('App to generate controller', 'Frontend'));

        $this->createCV($params);
    }
public function cvAction() {
        $params         = array();
        $params['name'] = ucfirst($this->getFirstParamOrAsk('Enter controller\'s name'));
        $params['app']  = ucfirst($this->ask('App to generate controller', 'Frontend'));

        $this->createCV($params);
    }
public function cvAction ( ) { $ params = array ( ) ; $ params [ 'name' ] = ucfirst ( $ this -> getFirstParamOrAsk ( 'Enter controller\'s name' ) ) ; $ params [ 'app' ] = ucfirst ( $ this -> ask ( 'App to generate controller' , 'Frontend' ) ) ; $ this -> createCV ( $ params ) ; }
Generates controller and view structure for it
Generates controller and view structure for it