original_string: protected function matchToKeys(array $matches)
      {
          $parameterNames = $this->parameterNames();
  
          if (count($parameterNames) == 0) {
              return array();
          }
  
          $parameters = array_intersect_key($matches, array_flip($parameterNames));
  
          return array_filter($parameters, function ($value)
          {
              return is_string($value) && (strlen($value) > 0);
          });
      }
code: protected function matchToKeys(array $matches)
      {
          $parameterNames = $this->parameterNames();
  
          if (count($parameterNames) == 0) {
              return array();
          }
  
          $parameters = array_intersect_key($matches, array_flip($parameterNames));
  
          return array_filter($parameters, function ($value)
          {
              return is_string($value) && (strlen($value) > 0);
          });
      }
code_tokens: protected function matchToKeys ( array $ matches ) { $ parameterNames = $ this -> parameterNames ( ) ; if ( count ( $ parameterNames ) == 0 ) { return array ( ) ; } $ parameters = array_intersect_key ( $ matches , array_flip ( $ parameterNames ) ) ; return array_filter ( $ parameters , function ( $ value ) { return is_string ( $ value ) && ( strlen ( $ value ) > 0 ) ; } ) ; }
docstring: Combine a set of parameter matches with the route's keys.
  
  @param  array  $matches
  @return array
docstring_tokens: Combine a set of parameter matches with the route s keys .