Registry / utility / hyperf-macroable

hyperf-macroable

JSON →
library3.1.63phppackagistunverified

Hyperf Macroable package which come from illuminate/macroable.

composer require hyperf/macroable
INSTALL
IMPORT
SIG · HYPERF-MACROABLE
H
hyperf-macroable
utilityphpv3.1.63
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Macroable
✓ use Hyperf\Macroable\Macroable;

Add macros to a class using the Macroable trait.

<?php use Hyperf\Macroable\Macroable; class MyClass { use Macroable; } MyClass::macro('hello', function() { return 'Hello'; }); echo MyClass::hello();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.63latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
hyperf-macroable — pip install hyperf-macroable · libregistry