PHP code example of aop-io / patchwork-interceptor
1. Go to this page and download the library: Download aop-io/patchwork-interceptor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
aop-io / patchwork-interceptor example snippets
use Aop\Aop;
// Init
$aop = new Aop([ 'php_interceptor' => '\PatchworkInterceptor\PatchworkInterceptor']);