public function auths($auth) { $group = Authorization::show("my", new Group())->where('description', '=', $auth); return Authorization::hasMany($group, 'App\\Authorization', 'auth', 'auth')->get(); }
public static function show($type) { return Authorization::show($type, new User()); }