public function parseParam(array $bindParams = []): string
    {
        $argPos = \strpos($this->path, '{');
        $optPos = \strpos($this->path, '[');

        return $this->quickParseParams($argPos, $optPos, $bindParams);
    }
public function parseParam(array $bindParams = []): string
    {
        $argPos = \strpos($this->path, '{');
        $optPos = \strpos($this->path, '[');

        return $this->quickParseParams($argPos, $optPos, $bindParams);
    }
public function parseParam ( array $ bindParams = [ ] ) : string { $ argPos = \ strpos ( $ this -> path , '{' ) ; $ optPos = \ strpos ( $ this -> path , '[' ) ; return $ this -> quickParseParams ( $ argPos , $ optPos , $ bindParams ) ; }
parse route path string. fetch route params
@param array $bindParams
@return string returns the first node string.
parse route path string . fetch route params