protected function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
+
+ // Set response type
+ $this->setResponseType('console');
}
/**
// Initialize the template engine here
$responseInstance->initTemplateEngine($applicationInstance);
+ // Init web output instance
+ $responseInstance->initWebOutputInstance();
+
// Return the prepared instance
return $responseInstance;
}
$this->partialStub('Naturally unimplemented in console response.');
}
- /**
- * Getter for default command
- *
- * @return $defaultCommand Default command for this response
- */
- public function getDefaultCommand () {
- $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_console_command');
- return $defaultCommand;
- }
-
/**
* Flushs the cached console response to the console
*