mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 02:22:16 +00:00
Development
- Added dependency injection support. - Added php-di composer dependency. - Added `ClassLoader` class. - Added `IClassLoader` interface. - Added unit-tests for dependency injection. - Updated documentation to reflect new features.
This commit is contained in:
@@ -150,7 +150,7 @@ class EventHandler implements IEventHandler
|
||||
$events = [];
|
||||
|
||||
foreach ($names as $eventName) {
|
||||
if(isset($this->registeredEvents[$eventName]) === true) {
|
||||
if (isset($this->registeredEvents[$eventName]) === true) {
|
||||
$events += $this->registeredEvents[$eventName];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user