for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Blackmine\Collection;
class RepeatableNameCollection extends IdentityCollection
{
public function toArray(): array
$ret = [];
$elements = parent::toArray(); // TODO: Change the autogenerated stub
foreach ($elements as $element) {
$ret[] = $element["name"];
}
return $ret;