PHP Readonly properties can't be passed by reference?
<?php declare(strict_types=1); class Example { public readonly array $setOne; public readonly array $setTwo; public function __construct() { // Populate $setOne and $setTwo with a lot of data } public function doThing() { $map = [ 'one' => &$this->setOne, 'two' =>…