<?php  namespace App\Models;  use App\Observers\RoleObserver; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\HasMany;  class Role extends Model { 	public const LIST_MODE_WHITE = 1; 	public const LIST_MODE_BLACK = 2;  	protected $casts = [ 		'protected' => 'boolean', 		'disallowed_methods' => 'array', 	];  	public static function getAllowedMethods(): array 	{ 		return [ 			'GET', 			'POST', 			'PUT', 			'PATCH', 			'DELETE', 			'HEAD', 			'OPTIONS', 		]; 	}  	public function canViewRoute(string $route, bool $persisted = false): 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; 	}  	protected function canViewRoutePersisted(string $route): bool{} }