diff options
author | Nils Adermann <naderman@naderman.de> | 2015-01-22 16:16:21 +0100 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2015-01-22 16:16:21 +0100 |
commit | 40ab75478ed7427985e4d147eb6573ce8bb351fc (patch) | |
tree | 8cd31410ef67f9ad1978e48272640c5f67bc2de9 /phpBB/phpbb/exception/exception_interface.php | |
parent | a737eeb6cea2d494be4c8ae5e1101d1015746191 (diff) | |
parent | 7fef91afd28290ce268f671eb525dedf5ade944d (diff) | |
download | forums-40ab75478ed7427985e4d147eb6573ce8bb351fc.tar forums-40ab75478ed7427985e4d147eb6573ce8bb351fc.tar.gz forums-40ab75478ed7427985e4d147eb6573ce8bb351fc.tar.bz2 forums-40ab75478ed7427985e4d147eb6573ce8bb351fc.tar.xz forums-40ab75478ed7427985e4d147eb6573ce8bb351fc.zip |
Merge pull request #3173 from Nicofuma/ticket/13361
[ticket/13361] Improve the exception listener
Diffstat (limited to 'phpBB/phpbb/exception/exception_interface.php')
-rw-r--r-- | phpBB/phpbb/exception/exception_interface.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/phpBB/phpbb/exception/exception_interface.php b/phpBB/phpbb/exception/exception_interface.php new file mode 100644 index 0000000000..e8526a35f5 --- /dev/null +++ b/phpBB/phpbb/exception/exception_interface.php @@ -0,0 +1,29 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +namespace phpbb\exception; + +/** + * Interface exception_interface + * + * Define an exception which support a language var as message. + */ +interface exception_interface +{ + /** + * Return the arguments associated with the message if it's a language var. + * + * @return array + */ + public function get_parameters(); +} |