| 1 | <?php namespace Arcanesoft\Auth\Models; |
||
| 13 | class PermissionsGroup extends BasePermissionsGroupModel |
||
| 14 | { |
||
| 15 | /* ------------------------------------------------------------------------------------------------ |
||
| 16 | | Traits |
||
| 17 | | ------------------------------------------------------------------------------------------------ |
||
| 18 | */ |
||
| 19 | use Presenters\PermissionsGroupPresenter; |
||
| 20 | |||
| 21 | /* ------------------------------------------------------------------------------------------------ |
||
| 22 | | Main Function |
||
| 23 | | ------------------------------------------------------------------------------------------------ |
||
| 24 | */ |
||
| 25 | /** |
||
| 26 | * Get a permission from a hashed id or fail if not found. |
||
| 27 | * |
||
| 28 | * @param string $hashedId |
||
| 29 | * |
||
| 30 | * @return self |
||
| 31 | * |
||
| 32 | * @throws \Illuminate\Database\Eloquent\ModelNotFoundException |
||
| 33 | */ |
||
| 34 | public static function firstHashedOrFail($hashedId) |
||
| 38 | } |
||
| 39 |