laravel get a const variable code example Example: laravel get a const variable // In user model const role_id // Call with v User::role_id