Helper for PHP (especially WordPress)
- Rewindable Generators
- Hydrate and exchange protected fields in objects
- System logger compatible logging:
- Forward to
syslog()
- Delegate to PSR-3 logger
- Forward to
error_log()
respecting configured error reporting levels - Forward to WP_CLI
- Append to an array-like variable/reference
- Forward to
- Message Bus (delegating to WP_Hook)
- Decouple exception handling per action/filter
- Stop propagation
Tested with:
- PHP 7.0 - 7.4
- WordPress >= 4.5