Inheritance chain of unified namespace classes

Example OXID eShop Professional Edition

@startuml

OxidEsales\EshopCommunity\Application\Model\Article <|-- OxidEsales\EshopProfessional\Application\Model\Article
OxidEsales\EshopProfessional\Application\Model\Article <|-- OxidEsales\Eshop\Application\Model\Article

OxidEsales\Eshop\Application\Model\Article - oxarticle : class_alias

@enduml

Example OXID eShop Enterprise Edition

@startuml

OxidEsales\EshopCommunity\Application\Model\Article <|-- OxidEsales\EshopProfessional\Application\Model\Article
OxidEsales\EshopProfessional\Application\Model\Article <|-- OxidEsales\EshopEnterprise\Application\Model\Article
OxidEsales\EshopEnterprise\Application\Model\Article <|-- OxidEsales\Eshop\Application\Model\Article

OxidEsales\Eshop\Application\Model\Article - oxarticle : class_alias

@enduml

Example OXID eShop Enterprise Edition with 2 modules activated

@startuml


OxidEsales\EshopCommunity\Application\Model\Article <|-- OxidEsales\EshopProfessional\Application\Model\Article
OxidEsales\EshopProfessional\Application\Model\Article <|-- OxidEsales\EshopEnterprise\Application\Model\Article
OxidEsales\EshopEnterprise\Application\Model\Article <|-- OxidEsales\Eshop\Application\Model\Article

OxidEsales\Eshop\Application\Model\Article <|-- Vendor1\Module1\Application\Model\Article
Vendor1\Module1\Application\Model\Article <|-- Vendor1\Module2\Application\Model\Article

OxidEsales\Eshop\Application\Model\Article - oxarticle : class_alias

@enduml

Warning

Do NOT use the PHP method get_class as its return value is dependent on the modules which are currently activated in the shop:

// returns Vendor1\Module2\Application\Model\Article in this example
get_class(oxNew(OxidEsales\Eshop\Application\Model\Article::class));