Reference

route:after

$route, $path, $method, $result

Example

/site/config/config.php
return [
    'hooks' => [
        'route:after' => function ($route, $path, $method, $result) {
            // your code goes here
        }
    ]
]