PHPIDS/PHPIDS — pull request #31 by KingCrunch (2013-02-05 23:24:11+00:00)
Title: Decouple Monitor-class from request

// Before
$monitor = new Monitor($request, $init);
$monitor->run();
// After
$monitor = new Monitor($init);
$monitor->run($request);

Allows to
- reuse of a monitor instance
- prepare a monitor instance before it is used (for example in an environment, that makes use of a dependency injection container)