/** * If debug is enabled and an exception occures, an email with the contents of this * exception will be emailed to the given email. * * @param string $email */ public static function setDebugEmail($email) { self::$debugEmail = (string) $email; }