private function getWildcards(ReflectionMethod $routable)
    {
        $output = '';

        foreach ($routable->getParameters() as $parameter) {
            if ($parameter->hasType()) {
                continue;
            }

            $wildCard = Str::snake($parameter->getName()).($parameter->isDefaultValueAvailable() ? '?' : '');

            $output .= '{'.$wildCard.'}/';
        }

        return $output;
    }
private function getWildcards(ReflectionMethod $routable)
    {
        $output = '';

        foreach ($routable->getParameters() as $parameter) {
            if ($parameter->hasType()) {
                continue;
            }

            $wildCard = Str::snake($parameter->getName()).($parameter->isDefaultValueAvailable() ? '?' : '');

            $output .= '{'.$wildCard.'}/';
        }

        return $output;
    }
private function getWildcards ( ReflectionMethod $ routable ) { $ output = '' ; foreach ( $ routable -> getParameters ( ) as $ parameter ) { if ( $ parameter -> hasType ( ) ) { continue ; } $ wildCard = Str :: snake ( $ parameter -> getName ( ) ) . ( $ parameter -> isDefaultValueAvailable ( ) ? '?' : '' ) ; $ output .= '{' . $ wildCard . '}/' ; } return $ output ; }
Get the wildcards string for the route URI.

@param ReflectionMethod $routable

@return string
Get the wildcards string for the route URI .