Commit f5721e0e by hfpp2012 yinsigan

user model getter

1 parent 5838bf37
......@@ -36,4 +36,9 @@ class User extends Authenticatable
{
$this->attributes['password'] = bcrypt($value);
}
public function getNameAttribute($value)
{
return strtoupper($value);
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!