How do I handle named route variables passed to a controller? I'm writing a plugin that uses the registerSiteRoutes hook to create some new routes, and passes those routes to some controllers. In these routes, I have a few pieces of the URL that I'm capturing as named subpatterns. I'm curious how I handle these named variables in the controller that receives them.
To quote @Brandon from here:


  Yep you just need to include a $variables argument in your controller
  function, typeset to an array:

public function actionArchive(array $variables = array())
{
    $variables['year'] ...
}