Your IP : 3.15.1.23


Current Path : /home/lentoinv/props/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/
Upload File :
Current File : /home/lentoinv/props/vendor/doctrine/inflector/lib/Doctrine/Inflector/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;
    }
}

?>