attributes['password'] = password_hash($value, PASSWORD_BCRYPT); } } }