PHPackages                             eduluz1976/pervasive - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. eduluz1976/pervasive

ActiveLibrary

eduluz1976/pervasive
====================

Library to wrap class methods and add dynamically other callables, allowing add something to be executed before an method, or after it.

04PHP

Since Nov 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/eduluz1976/pervasive)[ Packagist](https://packagist.org/packages/eduluz1976/pervasive)[ RSS](/packages/eduluz1976-pervasive/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Pervasive
=========

[](#pervasive)

Purpose
-------

[](#purpose)

The `pervasive` is a library that allows wrap objects and inject some behaviours in certain methods, such in events like `pre`, `pos` and `guard`. This allows test custom flows dynamically, without touch in code already in production.

Use
---

[](#use)

### Examples

[](#examples)

Considering the class `UserController`,

```
