Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.
This repository was archived by the owner on May 22, 2019. It is now read-only.

Clone constructors a.k.a. introduce a __clone() method on some IObjects? #3

@graste

Description

@graste

Some properties should not be cloned and need to be new instances on cloned instances (e.g. an identifier or UUID attributes). Basically everything that's set in __construct() should be set again in __clone()

This may not directly apply to Document or DocumentType as in the field_path branch, but is necessary for entities like AggregateRoot instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions