`_loadRealInstance` will return `null` if the target of the
association does not exist (anymore). We need to handle that case
in a clean way.
Also use a dedicated folder for the fixture to make the fixture
easier to find, and to discourage reuse of fixtures.
The `Product` namespace segment in the domain model namespace
`TTN\Tea\Domain\Model` currently serves no purpose and only adds
confusion. So let's simplify the extension structure accordingly.
(I intended to use this to demonstrate DDD contexts, but never
built enough models in the Tea extension for this to actually
make sense.)
Fixes#1008
2024-01-16 15:21:21 +01:00
Renamed from Classes/Domain/Model/Product/Tea.php (Browse further)