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.
Aka designated factory / constructor
\Pinto\ObjectType\ObjectTypeDiscovery::definitionForThemeObjectcomputes an entry point as where the\Pinto\ObjectType\ObjectTypeInterfaceis 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.