Skip to content

Mutable value object #20

Open
Open
@victorlevandovski

Description

@victorlevandovski

In documentation you say that "Money is value object - it's immutable." and yet it has public setAmount($amount) and public setCurrency($currency) methods. Something doesn't add up here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions