<?php  namespace App\Rules;  use Illuminate\Contracts\Validation\Rule;  class UrlExtension implements Rule { 	protected array $extensions; 	protected string $attribute = '';  	/** 	 * Create a new rule instance. 	 * 	 * @return void 	 */ 	public function __construct(array $extensions){}  	public function __toString(): string{}  	/** 	 * Determine if the validation rule passes. 	 * 	 * @param string $attribute 	 */ 	public function passes($attribute, $value): bool{}  	/** 	 * Get the validation error message. 	 */ 	public function message(): string|array{}  	protected function checkUrlExtension(string $value): bool{} }