Skip to content

refactor: remove constructor and rely on static factory method in Conjoon\Data\Resource\ResourceDescription #37

Description

@ThorstenSuckow

ResourceDescriptions are stateless, immutable objects.
Implementing APIs are safe to use singleton instances of objects of these classes.
Therefor, the constructor will be marked protected and a getInstance(): static method will be made available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions