2017 © Pedro Peláez
 

library patchwork-interceptor

R&D: AOP with the `antecedent/patchwork` package (stream wrapper), PHP code interceptor for AOP.io (php-aop).

image

aop-io/patchwork-interceptor

R&D: AOP with the `antecedent/patchwork` package (stream wrapper), PHP code interceptor for AOP.io (php-aop).

  • Thursday, August 14, 2014
  • by Nicolab
  • Repository
  • 1 Watchers
  • 2 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Patchwork interceptor for PHP AOP

Interceptor for php-aop using stream wrapper of PHP via the Patchwork package., (*1)

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., (*2)

Use just for your own _R&D_ (or playing) or to inspire you when creating an interceptor., (*3)

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!, (*4)

Getting Started

Install pecl-aop-interceptor

Download patchwork-interceptor (and configure your autoloader) or use composer require: "aop-io/patchwork-interceptor"., (*5)

Usage

use Aop\Aop;

// Init
$aop = new Aop([ 'php_interceptor' => '\PatchworkInterceptor\PatchworkInterceptor']);

The usage of the PHP-AOP abstraction layer is documented on AOP.io., (*6)

License

MIT (c) 2014, Nicolas Tallefourtane., (*7)

Author

Nicolas Tallefourtane - Nicolab.net
Nicolas Talle
Make a donation via Paypal

The Versions

14/08 2014

dev-master

9999999-dev http://aop.io

R&D: AOP with the `antecedent/patchwork` package (stream wrapper), PHP code interceptor for AOP.io (php-aop).

  Sources   Download

MIT

The Requires

  • php >=5.4

 

lib aop stream wrapper aop-io-interceptor patchwork

14/08 2014

v0.1

0.1.0.0 http://aop.io

R&D: AOP with the `antecedent/patchwork` package (stream wrapper), PHP code interceptor for AOP.io (php-aop).

  Sources   Download

MIT

The Requires

  • php >=5.4

 

lib aop stream wrapper aop-io-interceptor patchwork