krakjoe / instrumental
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/krakjoe/instrumental
Requires
- php: 7.*
- ext-componere: *
This package is auto-updated.
Last update: 2025-10-09 16:23:17 UTC
README
Instrumenting classes since 2018
This package allows the instrumentation of classes using Componere
API
namespace Componere {
class Instrumental {
public function __construct(string $target);
public function addOverride(string $method, \Closure $override);
public function addInvariant(\Closure $handler);
public function addPrecondition(string $method, \Closure $handler);
public function addPostcondition(string $method, \Closure $handler);
public function instrument();
}
}