Patchwork interceptor for PHP AOP
This interceptor was created only for R&D concerning the possibility of going through a protocol handler and PHP stream (stream wrapper), it does not support the interception of "around" kind, nor the interception of properties.
Use just for your own R&D (or playing) or to inspire you when creating an interceptor.
The lib Patchwork is not being created for use of AOP, so this interceptor has no future. However, the PHP stream wrapper to create an interceptor is a viable solution!
Download patchwork-interceptor (and configure your autoloader) or use composer
use Aop\Aop; // Init $aop = new Aop([ 'php_interceptor' => '\PatchworkInterceptor\PatchworkInterceptor']);
MIT (c) 2014, Nicolas Tallefourtane.