protected function _default($name) {
		$commands = [
			['model', $name],
			['controller', $name],
			['test', 'model', $name],
			['test', 'controller', $name]
		];
		foreach ($commands as $args) {
			$command = $this->template = $this->request->params['command'] = array_shift($args);
			$this->request->params['action'] = array_shift($args);
			$this->request->params['args'] = $args;

			if (!$this->_execute($command)) {
				return false;
			}
		}
		return true;
	}
protected function _default($name) {
		$commands = [
			['model', $name],
			['controller', $name],
			['test', 'model', $name],
			['test', 'controller', $name]
		];
		foreach ($commands as $args) {
			$command = $this->template = $this->request->params['command'] = array_shift($args);
			$this->request->params['action'] = array_shift($args);
			$this->request->params['args'] = $args;

			if (!$this->_execute($command)) {
				return false;
			}
		}
		return true;
	}
protected function _default ( $ name ) { $ commands = [ [ 'model' , $ name ] , [ 'controller' , $ name ] , [ 'test' , 'model' , $ name ] , [ 'test' , 'controller' , $ name ] ] ; foreach ( $ commands as $ args ) { $ command = $ this -> template = $ this -> request -> params [ 'command' ] = array_shift ( $ args ) ; $ this -> request -> params [ 'action' ] = array_shift ( $ args ) ; $ this -> request -> params [ 'args' ] = $ args ; if ( ! $ this -> _execute ( $ command ) ) { return false ; } } return true ; }
Run through the default set. model, controller, test model, test controller

@param string $name class name to create
@return boolean
Run through the default set . model controller test model test controller