Debian Codegraph @

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

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Doctrine\Inflector\Rules;
6
7 final class Substitution
8 {
9 /** @var Word */
10 private $from;
11
12 /** @var Word */
13 private $to;
14
15 public function __construct(Word $from, Word $to)
16 {
17 $this->from = $from;
18 $this->to = $to;
19 }
20
21 public function getFrom(): Word
22 {
23 return $this->from;
24 }
25
26 public function getTo(): Word
27 {
28 return $this->to;
29 }
30 }