Example 1:
Router::attach('app', array(
'absolute' => true,
'host' => 'localhost',
'scheme' => 'http://',
'prefix' => 'web/tests'
));
Example 2:
Router::attach('app', array(
'absolute' => true,
'host' => '{:subdomain:[a-z]+}.{:hostname}.{:tld}',
'scheme' => '{:scheme:https://}',
'prefix' => ''
));
Attach the variables to populate for the app scope.
Router::attach('app', null, array(
'subdomain' => 'www',
'hostname' => 'li3',
'tld' => 'me'
));