original_string: public function addMultiLanguage(...$parameters)
      {
          if (count($parameters) === 1) {
              $this->routes['ml'][] = ['closure' => $parameters[0], 'groupArgs' => []];
          } elseif (count($parameters) === 2) {
              $this->routes['ml'][] = ['closure' => $parameters[1], 'groupArgs' => $parameters[0]];
          } else {
              throw new \InvalidArgumentException;
          }
      }
code: public function addMultiLanguage(...$parameters)
      {
          if (count($parameters) === 1) {
              $this->routes['ml'][] = ['closure' => $parameters[0], 'groupArgs' => []];
          } elseif (count($parameters) === 2) {
              $this->routes['ml'][] = ['closure' => $parameters[1], 'groupArgs' => $parameters[0]];
          } else {
              throw new \InvalidArgumentException;
          }
      }
code_tokens: public function addMultiLanguage ( ... $ parameters ) { if ( count ( $ parameters ) === 1 ) { $ this -> routes [ 'ml' ] [ ] = [ 'closure' => $ parameters [ 0 ] , 'groupArgs' => [ ] ] ; } elseif ( count ( $ parameters ) === 2 ) { $ this -> routes [ 'ml' ] [ ] = [ 'closure' => $ parameters [ 1 ] , 'groupArgs' => $ parameters [ 0 ] ] ; } else { throw new \ InvalidArgumentException ; } }
docstring: Add multilingual route
  
  @param array ...$parameters closure or group options plus closure
  
  @throws \InvalidArgumentException
  
  @return void
docstring_tokens: Add multilingual route