aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/event
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-01-08 13:20:44 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-01-08 13:20:44 +0100
commit4c62dcd0ffc36a1c4bea203d7dcabbdd1f6143a3 (patch)
tree48f37c1bcde6774d4adc23498aca8664bfba04d0 /phpBB/includes/event
parent71c5eddb7194f25711bc0733a54f09bf2f0c7c06 (diff)
downloadforums-4c62dcd0ffc36a1c4bea203d7dcabbdd1f6143a3.tar
forums-4c62dcd0ffc36a1c4bea203d7dcabbdd1f6143a3.tar.gz
forums-4c62dcd0ffc36a1c4bea203d7dcabbdd1f6143a3.tar.bz2
forums-4c62dcd0ffc36a1c4bea203d7dcabbdd1f6143a3.tar.xz
forums-4c62dcd0ffc36a1c4bea203d7dcabbdd1f6143a3.zip
[feature/event-dispatcher] Correct copyright statement for Symfony2 files
Also add a notice to the files that were taken from Symfony2. PHPBB3-9550
Diffstat (limited to 'phpBB/includes/event')
-rw-r--r--phpBB/includes/event/dispatcher.php7
-rw-r--r--phpBB/includes/event/dispatcher_interface.php7
-rw-r--r--phpBB/includes/event/event.php7
-rw-r--r--phpBB/includes/event/subscriber_interface.php7
4 files changed, 24 insertions, 4 deletions
diff --git a/phpBB/includes/event/dispatcher.php b/phpBB/includes/event/dispatcher.php
index c3b8dc5790..6f7d61c83b 100644
--- a/phpBB/includes/event/dispatcher.php
+++ b/phpBB/includes/event/dispatcher.php
@@ -2,7 +2,7 @@
/**
*
* @package phpBB3
-* @copyright (c) 2011 phpBB Group
+* @copyright (c) Fabien Potencier <fabien@symfony.com>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
@@ -16,6 +16,11 @@ if (!defined('IN_PHPBB'))
}
/**
+ * This file has been taken from Symfony2 and adjusted for
+ * phpBB's coding standards.
+ */
+
+/**
* The EventDispatcherInterface is the central point of Symfony's event listener system.
*
* Listeners are registered on the manager and events are dispatched through the
diff --git a/phpBB/includes/event/dispatcher_interface.php b/phpBB/includes/event/dispatcher_interface.php
index 0a4881b3ba..37e6bd4cf1 100644
--- a/phpBB/includes/event/dispatcher_interface.php
+++ b/phpBB/includes/event/dispatcher_interface.php
@@ -2,7 +2,7 @@
/**
*
* @package phpBB3
-* @copyright (c) 2011 phpBB Group
+* @copyright (c) Fabien Potencier <fabien@symfony.com>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
@@ -16,6 +16,11 @@ if (!defined('IN_PHPBB'))
}
/**
+ * This file has been taken from Symfony2 and adjusted for
+ * phpBB's coding standards.
+ */
+
+/**
* The EventDispatcherInterface is the central point of Symfony's event listener system.
* Listeners are registered on the manager and events are dispatched through the
* manager.
diff --git a/phpBB/includes/event/event.php b/phpBB/includes/event/event.php
index f74370618b..6ee144bc68 100644
--- a/phpBB/includes/event/event.php
+++ b/phpBB/includes/event/event.php
@@ -2,7 +2,7 @@
/**
*
* @package phpBB3
-* @copyright (c) 2011 phpBB Group
+* @copyright (c) Fabien Potencier <fabien@symfony.com>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
@@ -16,6 +16,11 @@ if (!defined('IN_PHPBB'))
}
/**
+ * This file has been taken from Symfony2 and adjusted for
+ * phpBB's coding standards.
+ */
+
+/**
* Event is the base class for classes containing event data.
*
* This class contains no event data. It is used by events that do not pass
diff --git a/phpBB/includes/event/subscriber_interface.php b/phpBB/includes/event/subscriber_interface.php
index 4e7b23f596..081d4f0210 100644
--- a/phpBB/includes/event/subscriber_interface.php
+++ b/phpBB/includes/event/subscriber_interface.php
@@ -2,7 +2,7 @@
/**
*
* @package phpBB3
-* @copyright (c) 2011 phpBB Group
+* @copyright (c) Fabien Potencier <fabien@symfony.com>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
@@ -16,6 +16,11 @@ if (!defined('IN_PHPBB'))
}
/**
+ * This file has been taken from Symfony2 and adjusted for
+ * phpBB's coding standards.
+ */
+
+/**
* An EventSubscriber knows himself what events he is interested in.
* If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes
* {@link get_subscribed_events} and registers the subscriber as a listener for all