original_string: public function remap($key, $plural = null)
      {
          $this->remappings[] = [$key, null === $plural ? $key.'s' : $plural];
  
          return $this;
      }
code: public function remap($key, $plural = null)
      {
          $this->remappings[] = [$key, null === $plural ? $key.'s' : $plural];
  
          return $this;
      }
code_tokens: public function remap ( $ key , $ plural = null ) { $ this -> remappings [ ] = [ $ key , null === $ plural ? $ key . 's' : $ plural ] ; return $ this ; }
docstring: Registers a key to remap to its plural form.
  
  @param string $key    The key to remap
  @param string $plural The plural of the key in case of irregular plural
  
  @return $this
docstring_tokens: Registers a key to remap to its plural form .