original_string: public function make_plural_form_function($nplurals, $expression)
      {
          try {
              $handler = new PluralForms(rtrim($expression, ';'));
  
              return array($handler, 'get');
          } catch (\Exception $e) {
              // Fall back to default plural-form function.
              return $this->make_plural_form_function(2, 'n != 1');
          }
      }
code: public function make_plural_form_function($nplurals, $expression)
      {
          try {
              $handler = new PluralForms(rtrim($expression, ';'));
  
              return array($handler, 'get');
          } catch (\Exception $e) {
              // Fall back to default plural-form function.
              return $this->make_plural_form_function(2, 'n != 1');
          }
      }
code_tokens: public function make_plural_form_function ( $ nplurals , $ expression ) { try { $ handler = new PluralForms ( rtrim ( $ expression , ';' ) ) ; return array ( $ handler , 'get' ) ; } catch ( \ Exception $ e ) { // Fall back to default plural-form function. return $ this -> make_plural_form_function ( 2 , 'n != 1' ) ; } }
docstring: Makes a function, which will return the right translation index,
  according to the plural forms header.
  
  @param int    $nplurals
  @param string $expression
  
  @return callable The right translation index
docstring_tokens: Makes a function which will return the right translation index according to the plural forms header .