Debian Codegraph @

lib/3rdParty/composer/doctrine/inflector/src/Rules/Ruleset.php

raw symbols SCIP
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 }