src/Panda/Routing/Route.php
public function getParameter($name, $default = null)
    {
        try {
            return ArrayHelper::get($this->getParameters(), $name, $default);
        } catch (Exception $ex) {
            return $default;
        }
    }
public function getParameter($name, $default = null)
    {
        try {
            return ArrayHelper::get($this->getParameters(), $name, $default);
        } catch (Exception $ex) {
            return $default;
        }
    }
public function getParameter ( $ name , $ default = null ) { try { return ArrayHelper :: get ( $ this -> getParameters ( ) , $ name , $ default ) ; } catch ( Exception $ ex ) { return $ default ; } }
Get a given parameter from the route.

@param string $name
@param mixed  $default

@return string|object
Get a given parameter from the route .