Skip to content

Commit

Permalink
Add ExceptionToDisplay::getValues method
Browse files Browse the repository at this point in the history
Returns all exception stored value.
  • Loading branch information
tabsl authored and Sieg committed Jul 18, 2018
1 parent ec6f6cf commit 4c36313
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 11 additions & 1 deletion source/Core/Exception/ExceptionToDisplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 4c36313

Please sign in to comment.