<?php  namespace App\Rules;  use Closure; use Illuminate\Contracts\Validation\ValidationRule;  class UrlExtension implements ValidationRule { 	protected array $extensions;  	/** 	 * Create a new rule instance. 	 */ 	public function __construct(array $extensions = []){}  	public function __toString(): string{}  	/** 	 * Run the validation rule. 	 */ 	public function validate(string $attribute, mixed $value, Closure $fail): void{}  	protected function checkUrlExtension(string $value): bool{} }