$object->salary() # returns the value of salary $object->salary(1234) # sets salary to 1234