Download the PHP package icewind/interceptor without Composer
On this page you can find all versions of the php package icewind/interceptor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package interceptor
Interceptor
Intercept php includes
Usage
API
addWhiteList(string $path): Add a folder to the white listaddBlackList(string $path): Add a folder to the black list- Only white listed files will be intercepted
- A file is white listed if it has a parent folder that is white listed without there being a more direct parent folder that is black listed
addHook(callable $hook): Register a hook to the intercepter- the registered callback will be called for every include which is intercepted
- The code being included will be passed as the first argument
- The path being included will be passed as second argument
- If the hook returns a string the loaded code will be replaced by the return value
setUp()start intercepting includestearDown()stop intercepting includes
All versions of interceptor with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package icewind/interceptor contains the following files
Loading the files please wait ...

