<?php  namespace App\Models;  use App\Enums\RoleMode; use App\Observers\RoleObserver; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\HasMany;  class Role extends Model { 	protected $casts = [ 		'protected' => 'boolean', 		'disallowed_methods' => 'array', 		'mode' => RoleMode::class, 	];  	public function canViewRoute(string $route): bool{}  	public function hasAllowedMethod(string $method): bool{}  	public function scopeCanViewRouteQuery(Builder $query, string $route): Builder{}  	public function scopeAvailable(Builder $query): Builder{}  	public function routes(): HasMany{}  	public function setNameAttribute(string $value): void{}  	public function users(): HasMany{}  	protected static function initObservers(): string 	{ 		return RoleObserver::class; 	} }