Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 556 Bytes

2022-12-01-optimize-entity-type.md

File metadata and controls

12 lines (11 loc) · 556 Bytes
title issue author author_email author_github
Optimize EntityType
NEXT-24511
Jan Matthiesen
jmatthiesen81

Core

  • Added more specifying type declaration PHP dockblocks.
  • Added class member definition \Shopware\Core\Framework\Event\EventData\EntityType::$definitionClass to improve code quality.
  • Changed class constructor \Shopware\Core\Framework\Event\EventData\EntityType::__construct to add the possibility to pass an object of \Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition to the constructor.