fix: adds ImdbMatcher

This commit is contained in:
2025-07-25 21:35:29 -05:00
parent 23a88ec6bb
commit 87e72ec55e

View File

@@ -0,0 +1,11 @@
<?php
namespace App\Base\Util;
class ImdbMatcher
{
public static function isMatch(string $imdbId): bool
{
return preg_match('/^tt\d{7}$/', $imdbId);
}
}