public function listen($uri, EventHandler $handler, $overRideYamlKey) {
        //CP-2 added this while working on calling listeners during core/components/render call
        //no need to add handlers that will never match our request
        //CP-265 - $overRideYamlKey - render component is the main __YML_KEY but we are still
        //needing to use the local  node configuration for the render call
        if ($uri != 'all' && $uri != $this->ymlKey && !$overRideYamlKey) {
            return;
        }

        $this->logger->addDebug('adding eventhandler for ' . $uri . ' to listeners list');

        $this->listeners[$uri][] = $handler;
    }