Registry / utility / ray-aop

ray-aop

JSON →
library2.18.0phppackagistunverified

An aspect oriented framework for PHP providing method interception and AOP features.

composer require ray/aop
INSTALL
IMPORT
SIG · RAY-AOP
R
ray-aop
utilityphpv2.18.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.

Weaver
use Ray\Aop\Weaver;

Create a Weaver and bind an interceptor to a method.

<?php require 'vendor/autoload.php'; use Ray\Aop\Weaver; $weaver = new Weaver(); $weaver->bind('MyClass', 'methodName', new MyInterceptor());
Debug
Known issues
breakingRequires PHP 7.1 or higher due to type declarations.
fix
Ensure your PHP version is at least 7.1.
affects: < 2.0.0
Upgrade
Version history
2.18.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ray-aop — pip install ray-aop · libregistry