CoreFiles by mySites.guru
Substitution.php30 lines, 451 bytes, from Joomla_6.3.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha3
md5
4676afbe7c8372b18652a9133cd88ec7
sha1
19f12903990bb6b702335ffd34b591942cc415fb
sha256
f4f820de47e9e7fcaa9799951f2bd58412b6bbf0cb846e49aed3e06add08b541
<?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;
    }
}

The same content is in 46 releases, Joomla 6.0.0-rc1 to 6.3.0-alpha1. See them all, or every version of this file.