* @return void
*/
public final function addFatalMessage ($messageId) {
- // Get application instance
- $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
-
// Adds the resolved message id to the fatal message list
- $this->addFatalMessagePlain($applicationInstance->getLanguageInstance()->getMessage($messageId));
+ $this->addFatalMessagePlain(FrameworkBootstrap::getLanguageInstance()->getMessage($messageId));
}
/**