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