for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\Inflector\Rules;
class Substitution
{
/** @var Word */
private $singular;
private $plural;
public function __construct(Word $singular, Word $plural)
$this->singular = $singular;
$this->plural = $plural;
}
public function getSingular() : Word
return $this->singular;
public function getPlural() : Word
return $this->plural;