torq/pimcore-helpers-bundle
最新稳定版本:1.3.0
Composer 安装命令:
composer require torq/pimcore-helpers-bundle
包简介
README 文档
README
A collection of several simple but commonly used, mockable service wrappers
AssetRepository: Service wrapper for fetching, saving and deleting assetscreateAsset(UploadedFile $file, ElementInterface $parent): A helper which builds an asset from an UploadedFile
FolderRepository: Service wrappers for either getting or getting/creating the three major folder types in pimcoreDataObjectRepository: Abstract service wrapper for saving/deleting data objectsArrayUtils: A collection of helper functions for deep parsing arrays as well as finding items within an arrayget(string|string[] $key, array $array): Navigates either one or a series of nested keys within an array and returns either the target value or null if any part of the chain does not exist. Several casting variations also exist which return specific types or null:getDate()getInt()getFloat()
findIndex(callable $callable, array $array)andfindInArray(callable $callable, array $array)functions, which find an item in an array based on a given function
统计信息
- 总下载量: 2.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-19