src/Router/Routes/RouteBinding.php
protected function bindVarMultipleUrlParts($option, $type, array $parts, &$value)
    {
        if (substr($option, -3) === '...' && ctype_digit(substr($option, 1, -3))) {
            $i = (int)substr($option, 1, -3);

            if ($type === 'assoc') {
                throw new \InvalidArgumentException("Binding multiple parts using '$option' is only allowed in numeric arrays");
            } else {
                $value = array_slice($parts, $i - 1);
            }
            
            return true;
        }
        
        return false;
    }
protected function bindVarMultipleUrlParts($option, $type, array $parts, &$value)
    {
        if (substr($option, -3) === '...' && ctype_digit(substr($option, 1, -3))) {
            $i = (int)substr($option, 1, -3);

            if ($type === 'assoc') {
                throw new \InvalidArgumentException("Binding multiple parts using '$option' is only allowed in numeric arrays");
            } else {
                $value = array_slice($parts, $i - 1);
            }
            
            return true;
        }
        
        return false;
    }
protected function bindVarMultipleUrlParts ( $ option , $ type , array $ parts , & $ value ) { if ( substr ( $ option , - 3 ) === '...' && ctype_digit ( substr ( $ option , 1 , - 3 ) ) ) { $ i = ( int ) substr ( $ option , 1 , - 3 ) ; if ( $ type === 'assoc' ) { throw new \ InvalidArgumentException ( "Binding multiple parts using '$option' is only allowed in numeric arrays" ) ; } else { $ value = array_slice ( $ parts , $ i - 1 ) ; } return true ; } return false ; }
Bind variable when option contains multiple URL parts

@param string $option
@param string $type    'assoc' or 'numeric'
@param array  $parts   Url parts
@param mixed  $value   OUTPUT
@return boolean
Bind variable when option contains multiple URL parts