[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/ -> Uninflected.php (source)

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace Doctrine\Inflector\Rules\NorwegianBokmal;
   6  
   7  use Doctrine\Inflector\Rules\Pattern;
   8  
   9  final class Uninflected
  10  {
  11      /**
  12       * @return Pattern[]
  13       */
  14      public static function getSingular(): iterable
  15      {
  16          yield from self::getDefault();
  17      }
  18  
  19      /**
  20       * @return Pattern[]
  21       */
  22      public static function getPlural(): iterable
  23      {
  24          yield from self::getDefault();
  25      }
  26  
  27      /**
  28       * @return Pattern[]
  29       */
  30      private static function getDefault(): iterable
  31      {
  32          yield new Pattern('barn');
  33          yield new Pattern('fjell');
  34          yield new Pattern('hus');
  35      }
  36  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer