for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Db\TestSupport;
use function array_map;
use function is_array;
use function strtolower;
final class AnyCaseValue extends CompareValue
{
public $value;
/**
* Constructor.
*
* @param string|string[] $value
*/
public function __construct($value)
if (is_array($value)) {
$this->value = array_map('strtolower', $value);
} else {
$this->value = strtolower($value);
}