[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace Doctrine\Inflector\Rules\Portuguese;
   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('tórax');
  33          yield new Pattern('tênis');
  34          yield new Pattern('ônibus');
  35          yield new Pattern('lápis');
  36          yield new Pattern('fênix');
  37      }
  38  }


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