* @return void
*/
protected function prepareCommand () {
- /* @TODO Add some stuff here: Some personal data, app/game related data */
+ /* @todo Add some stuff here: Some personal data, app/game related data */
}
/**
// Get the action instance from registry
$actionInstance = Registry::getRegistry()->getInstance('action');
- // Execute the action (shall not output anything, see below why)
- $actionInstance->execute($requestInstance, $responseInstance);
+ // Do we have an action here?
+ if ($actionInstance instanceof PerformableAction) {
+ // Execute the action (shall not output anything, see below why)
+ $actionInstance->execute($requestInstance, $responseInstance);
+ } // END - if
// Get the application instance
$appInstance = $this->getResolverInstance()->getApplicationInstance();