dhii / callback-abstract
回调函数处理功能抽象。
v0.1-alpha5
2018-04-04 14:57 UTC
Requires
- php: ^5.4 | ^7.0
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/invocable-interface: ^0.1
- dhii/php-cs-fixer-config: dev-php-5.3
- dhii/stringable-interface: ^0.1
- dhii/validation-interface: 0.2-alpha1|0.2-alpha2
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
Suggests
- dhii/args-list-validation: For args list validation logic
- dhii/normalization-helper-base: To normalize lists and other types
- dhii/validation-base: For validation exceptions and their factories
This package is auto-updated.
Last update: 2024-09-07 06:34:22 UTC
README
了解回调函数的对象的特性。
特性
ArgsAwareTrait
- 对参数列表的了解功能。CallbackAwareTrait
- 对回调的了解功能。InvokeCallableCapableTrait
- 允许任何可调用的结构化调用。InvokeCallbackCapableTrait
- 允许结构化调用指定的回调。