for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Auth\Models;
use \Arcanedev\LaravelAuth\Models\PermissionsGroup as BasePermissionsGroup;
/**
* Class PermissionsGroup
*
* @package Arcanesoft\Auth\Models
* @author ARCANEDEV <[email protected]>
* @property string hashed_id
*/
class PermissionsGroup extends BasePermissionsGroup
{
/* -----------------------------------------------------------------
| Traits
| -----------------------------------------------------------------
use Presenters\PermissionsGroupPresenter;
| Main Methods
* Get a permission from a hashed id or fail if not found.
* @param string $hashedId
* @return self
* @throws \Illuminate\Database\Eloquent\ModelNotFoundException
public static function firstHashedOrFail($hashedId)
return self::withHashedId($hashedId)->firstOrFail();
}