[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace Doctrine\Inflector\Rules;
   6  
   7  class Ruleset
   8  {
   9      /** @var Transformations */
  10      private $regular;
  11  
  12      /** @var Patterns */
  13      private $uninflected;
  14  
  15      /** @var Substitutions */
  16      private $irregular;
  17  
  18      public function __construct(Transformations $regular, Patterns $uninflected, Substitutions $irregular)
  19      {
  20          $this->regular     = $regular;
  21          $this->uninflected = $uninflected;
  22          $this->irregular   = $irregular;
  23      }
  24  
  25      public function getRegular(): Transformations
  26      {
  27          return $this->regular;
  28      }
  29  
  30      public function getUninflected(): Patterns
  31      {
  32          return $this->uninflected;
  33      }
  34  
  35      public function getIrregular(): Substitutions
  36      {
  37          return $this->irregular;
  38      }
  39  }


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