<?php  namespace App\Rules;  use App\Models\Navigation; use Illuminate\Contracts\Validation\Rule;  class SubNavigation implements Rule { 	/** 	 * Create a new rule instance. 	 */ 	public function __construct(){}  	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{} }