public function paramName($name, $default = null)
    {
        if (($extName = $this->propertyName($name)) && substr($extName, 0, 1) == ':') {
            return substr($extName, 1);
        }

        return $default;
    }
public function paramName($name, $default = null)
    {
        if (($extName = $this->propertyName($name)) && substr($extName, 0, 1) == ':') {
            return substr($extName, 1);
        }

        return $default;
    }
public function paramName ( $ name , $ default = null ) { if ( ( $ extName = $ this -> propertyName ( $ name ) ) && substr ( $ extName , 0 , 1 ) == ':' ) { return substr ( $ extName , 1 ) ; } return $ default ; }
Returns the external property name when the property value is a routing parameter reference.
Otherwise the default value specified is returned.
@param string $name The property name
@param mixed $default
@return string
Returns the external property name when the property value is a routing parameter reference . Otherwise the default value specified is returned .