承接 descent/universe 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

descent/universe

Composer 安装命令:

composer require descent/universe

包简介

Descent Framework Standard PHP Functions

README 文档

README

Descent Framework Standard PHP Functions.

Standard PHP Functions

Similar to the Standard PHP Library, this package provides additional PHP functions at the global scope which are used at the core of the Descent Framework.

Implemented global scope array functions

  • array_fetch - resolves a query path based array value
  • array_extend - extends an given array by the provided query path and value
  • array_exclude - removes a value based on the provided query path
  • array_normalize - normalizes a array based on query path notation
  • array_ping - checks whether a query path exists or not
  • array_touch - guarantees that a query path is an array

See Functions.php.

What is query path?

Query paths are notations of a chain of array keys to directly access deep array values in a regular array.

Do query path based array functions work on arrays with query path notation?

No, you have to normalize those array. There is a function for such scenarios build in: array_normalize.

Do query path based array functions work directly on the source array?

No, all functions do create a copy of the provided array.

Implemented global scope callback functions

  • encloseCallback - creates a Closure of a provided callable, automatically uses Closure::fromCallable when available
  • encloseCallbackPattern - calls encloseCallback after the provided callback pattern (separated by the provided method separator and enhanced by the provided namespace) was converted to a callback.

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固