it-bens/shopware-sdk-data-core
最新稳定版本:v0.2.0
Composer 安装命令:
composer require it-bens/shopware-sdk-data-core
包简介
The data base classes, interfaces and traits of the Shopware 6 SDK
README 文档
README
This package contains the core data classes, interfaces and traits for the Shopware 6 PHP SDK.
Struct
The abstract base class for all structured data in the SDK. It implements the usage of extensions and provides a method so recursively normalize the data.
Collection
The abstract base class for all collections in the SDK. A Collection is itself a Struct implementation. I can hold any object type. It is implemented as an invariant generic. The Countable and IteratorAggregate interfaces are implemented.
Entity
The abstract base class for all entities in the SDK. An entity is a Struct with an identifier that provides a type-safe and relation-supporting property handling. All entities share two additional properties: custom fields and translations.
EntityCollection
The abstract base class for all entity collections in the SDK. An EntityCollection is Collection implementation that provides methods to insert entities, merge collections, and filter entities by property values.
EntityDefinition
The interface that defines how an Entity is linked to its name, its EntityCollection and its Schema.
Schema and Property
A Schema contains a collection of Property objects. A Property is a data structure that describes what information is provided by Shopware for this entity.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-29