dhii / callback-abstract
Abstract functionality for working with callbacks.
Installs: 4 633
Dependents: 6
Suggesters: 2
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/dhii/callback-abstract
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: 2025-10-07 09:02:19 UTC
README
Traits for objects that are aware of callback functions.
Traits
ArgsAwareTrait- Functionality for awareness of an argument list.CallbackAwareTrait- Functionality for awareness of a callback.InvokeCallableCapableTrait- Allows structured invocation of any callable.InvokeCallbackCapableTrait- Allows structured invocation of an assigned callback.