HOME


5h-3LL 1.0
DIR: /opt/cpanel/ea-wappspector/vendor/doctrine/inflector/src/Rules
/opt/cpanel/ea-wappspector/vendor/doctrine/inflector/src/Rules/
Upload File:
Current File : /opt/cpanel/ea-wappspector/vendor/doctrine/inflector/src/Rules/Substitution.php
<?php

declare(strict_types=1);

namespace Doctrine\Inflector\Rules;

final class Substitution
{
    /** @var Word */
    private $from;

    /** @var Word */
    private $to;

    public function __construct(Word $from, Word $to)
    {
        $this->from = $from;
        $this->to   = $to;
    }

    public function getFrom(): Word
    {
        return $this->from;
    }

    public function getTo(): Word
    {
        return $this->to;
    }
}