krakjoe/instrumental

There is no license information available for the latest version (1.0.0) of this package.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/krakjoe/instrumental

1.0.0 2018-02-27 11:50 UTC

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();
	}
}