<?php
$request = new Yaf_Request_Simple("CLI", "Index", "Index", "Index");
// Dispatch manually against a URI that differs from the real one
$request->setRequestUri("/product/view/id/17");
var_dump($request->getRequestUri());
?>
The above example will output
something similar to:
string(19) "/product/view/id/17"