Preview: StringUtils.php
Size: 294 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/src/Util/StringUtils.php
<?php
declare (strict_types=1);
namespace Rector\Util;
use RectorPrefix202411\Nette\Utils\Strings;
final class StringUtils
{
public static function isMatch(string $value, string $regex) : bool
{
$match = Strings::match($value, $regex);
return $match !== null;
}
}
Directory Contents
Dirs: 1 × Files: 8