/home/techb158/immovalet.com/vendor/botble/platform/acl/src/Models
NameSizeModeActions
Activation.php4180644editdlrm
Role.php19940644editdlrm
User.php56670644editdlrm
UserMeta.php14950644editdlrm
Edit: /home/techb158/immovalet.com/vendor/botble/platform/acl/src/Models/UserMeta.php (1495B)
$userId, 'key' => $key, ]); return $meta->update(['value' => $value]); } /** * @param string $key * @param null $default * @param int $userId * @return string */ public static function getMeta($key, $default = null, $userId = 0) { if ($userId == 0) { $userId = Auth::id(); } $meta = self::where([ 'user_id' => $userId, 'key' => $key, ])->select('value')->first(); if (!empty($meta)) { return $meta->value; } return $default; } }