]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/mailer/debug/class_DebugMailer.php
Continued:
[core.git] / inc / main / classes / mailer / debug / class_DebugMailer.php
index 3a37c02aa60d7e8b17e27d5ac58f397b64285426..fefa2800214ce7c76e5b5b3e9ada135bfb5ab499 100644 (file)
@@ -1,11 +1,19 @@
 <?php
+// Own namespace
+namespace CoreFramework\Mailer\Debug;
+
+// Import framework stuff
+use CoreFramework\Generic\NullPointerException;
+use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Template\CompileableTemplate;
+
 /**
  * A mailer class for debugging purposes only. This class will print the
  * prepared mail out and will not send it to the recipient.
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -95,7 +103,7 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
                                        // Is the value instance there?
                                        if (!isset($recipientList['values'][$variable])) {
                                                // Throw exception
-                                               throw new NullPointerException ($this, self::EXCEPTION_IS_NULL_POINTER);
+                                               throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER);
                                        } // END - if
 
                                        // Get the field from the value instance
@@ -169,7 +177,5 @@ class DebugMailer extends BaseMailer implements DeliverableMail {
                // Then compile it again
                $templateInstance->compileVariables();
        }
-}
 
-// [EOF]
-?>
+}