/** * Get path for particular route and parameters. * * @access public * @param array $aArgs * @return string * @sicne 1.0.0-alpha * @version 1.0.0-alpha */ public function path(array $aArgs = []) { $sURL = $this->url($aArgs); $sPath = str_replace(Router::getBase(), '', $sURL); if (substr($sPath, 0, 1) !== '/') { $sPath = '/' . $sPath; } return $sPath; }