public function getListeners(string ...$eventNames) : array
    {
        if (empty($eventNames)) return [];

        $key = implode('|', $eventNames);
        return $this->combinationListeners[$key] ?? [];
    }
public function getListeners(string ...$eventNames) : array
    {
        if (empty($eventNames)) return [];

        $key = implode('|', $eventNames);
        return $this->combinationListeners[$key] ?? [];
    }
public function getListeners ( string ... $ eventNames ) : array { if ( empty ( $ eventNames ) ) return [ ] ; $ key = implode ( '|' , $ eventNames ) ; return $ this -> combinationListeners [ $ key ] ?? [ ] ; }
Gets the listeners of a specific event

@param string[] $eventNames The name of the events

@return array The event listeners for the specified event combination
Gets the listeners of a specific event