for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace DummyGenerator\Definitions\Replacer;
use DummyGenerator\Definitions\Randomizer\RandomizerInterface;
/**
* A helper trait to be used with RandomizerAwareReplacer.
*/
trait RandomizerAwareReplacerTrait
{
protected RandomizerInterface $randomizer;
public function withRandomizer(RandomizerInterface $randomizer): ReplacerInterface
$instance = clone $this;
$instance->randomizer = $randomizer;
return $instance;
return $instance
DummyGenerator\Definitio...mizerAwareReplacerTrait
DummyGenerator\Definitio...lacer\ReplacerInterface
}