axy/creator
Composer 安装命令:
composer require axy/creator
包简介
Creation of objects by parameters
README 文档
README
Creation of objects by parameters (PHP).
- The library does not require any dependencies.
- Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).
- Install:
composer require axy/creator. - License: MIT.
Documentation
The library for creating similar objects by the specified pattern.
Apply in the following cases
- Lazy load: not all objects can be required, and the creation of an extra is overhead
- Lazy programmer: creating objects requires a lot of monotonous code
Contents
- Examples
- Context and pointer
- Format of pointer
- Format of context
- Class Creator
- Class Lazy
- Class Subs
- Rules of classname resolving
- List of errors
Callbacks
The library use axy/callbacks. Wherever require a callback, you can use the extended format.
统计信息
- 总下载量: 128
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-12-29