Skip to content

Alternate entry point #40

@dpi

Description

@dpi

Aka designated factory / constructor

\Pinto\ObjectType\ObjectTypeDiscovery::definitionForThemeObject computes an entry point as where the \Pinto\ObjectType\ObjectTypeInterface is defined at. But that doesnt make sense for inheritance/enum/enum-case options.

But most importantly it should be possible to [Slots(bindPromotedProperties)]) while allowing constructor to be private.

So I think we need another attr, just like Build, to designate the entry point.

Even though entry point isnt really used yet as a concept quite yet.

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