public function getAllHandlers() { $ret = []; foreach ($this->registrations as $name => $types) { foreach ($types as $type => $registrations) { foreach ($registrations as $registration) { $priority = $registration[self::REG_KEY_PRIORITY]; $handler = $registration[self::REG_KEY_HANDLER]; $ret[$name][$type][$priority][] = $handler; } } } return $ret; }