From 7f4b45286aa5eb444843596e6b9bc09f0e5c579e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sat, 14 Dec 2013 23:27:48 +0100 Subject: [PATCH] interface class constants --- application/core/Callbacks/CallbackListener.php | 6 +++++- application/core/Manialinks/ManialinkPageAnswerListener.php | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/application/core/Callbacks/CallbackListener.php b/application/core/Callbacks/CallbackListener.php index dacadef4..c054f209 100644 --- a/application/core/Callbacks/CallbackListener.php +++ b/application/core/Callbacks/CallbackListener.php @@ -4,10 +4,14 @@ namespace ManiaControl\Callbacks; /** * Interface for CallbackListener - * + * * @author steeffeen & kremsy */ interface CallbackListener { + /** + * Constants + */ + const CALLBACKLISTENER_INTERFACE = __CLASS__; } ?> diff --git a/application/core/Manialinks/ManialinkPageAnswerListener.php b/application/core/Manialinks/ManialinkPageAnswerListener.php index 0bef7bfc..c9397fb5 100644 --- a/application/core/Manialinks/ManialinkPageAnswerListener.php +++ b/application/core/Manialinks/ManialinkPageAnswerListener.php @@ -8,6 +8,10 @@ namespace ManiaControl\Manialinks; * @author steeffeen & kremsy */ interface ManialinkPageAnswerListener { + /** + * Constants + */ + const MANIALINKPAGEANSWERLISTENER_INTERFACE = __CLASS__; } ?>