Registry / utility / quantaquirk-macroable

quantaquirk-macroable

JSON →
library1.0.0phppackagistunverified

The Macroable package for QuantaQuirk.

composer require quantaquirk/macroable
INSTALL
IMPORT
SIG · QUANTAQUIRK-MACROA
Q
quantaquirk-macroable
utilityphpv1.0.0
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 QuantaQuirk\Macroable\Macroable;

Add macros to a class using the Macroable trait.

use QuantaQuirk\Macroable\Macroable; class MyClass { use Macroable; } MyClass::macro('greet', function() { return 'Hello'; }); echo MyClass::greet();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
quantaquirk-macroable — pip install quantaquirk-macroable · libregistry