From 4c36313a00407f6321bbe82784231111b5076ef0 Mon Sep 17 00:00:00 2001 From: Tobias Merkl Date: Wed, 11 Jul 2018 20:01:45 +0200 Subject: [PATCH] Add ExceptionToDisplay::getValues method Returns all exception stored value. --- CHANGELOG.md | 6 ++++++ source/Core/Exception/ExceptionToDisplay.php | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9410518242..9d62dd914d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [6.4.0] - Unreleased + +### Added +- New methods: + - `OxidEsales\EshopCommunity\Core\Exception\ExceptionToDisplay::getValues` [PR-660](https://github.com/OXID-eSales/oxideshop_ce/pull/660) + ## [6.3.0] - Unreleased ### Added diff --git a/source/Core/Exception/ExceptionToDisplay.php b/source/Core/Exception/ExceptionToDisplay.php index fe04ff0c36..f1de110e0b 100644 --- a/source/Core/Exception/ExceptionToDisplay.php +++ b/source/Core/Exception/ExceptionToDisplay.php @@ -119,7 +119,17 @@ public function getValue($sName) { return $this->_aValues[$sName]; } - + + /** + * Returns all exception stored values + * + * @return array + */ + public function getValues() + { + return $this->_aValues; + } + /** * Exception debug mode setter *