eggbe/prototype

此包已被废弃且不再维护。作者建议使用 able/prototypes 包代替。

phpABLE 抽象库

v1.1.2 2021-05-23 02:57 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:58:20 UTC


README

phpABLE 抽象库旨在帮助我们编写更通用和标准化的代码。

要求

安装

可以通过 Composer 简单地将 Able/Prototypes 安装到您的项目中。

composer require able/prototypes

使用方法

此库仅包含抽象类、特性和接口,实现并标准化了常见的功能和行为。

接口

类型转换

  • IArrayable
  • IArrayable
  • IPresentable
  • IStringable

行为

  • IAggregatable
  • ICountable
  • IGettable
  • ICallable
  • IExecutable
  • IFillable
  • IIteratable
  • TSingleton
  • ISingleton
  • ISettable

功能

  • THierarchical
  • TRetrospective
  • TTraitable

实现

类型转换

  • TStringable

行为

  • TCallable
  • TUnclonable

许可证

此包在 MIT 许可证 下发布。