RouterListener.php Interfaces, Classes and Traits RouterListener Initializes the context from the request and sets request attributes based on a matching route.