concilio / contractor
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.
Based on hediet/contracts. A library which helps to specify, check and reflect code contracts. Fast porting for wordpress. An additional layer simply makes it possible to invalidate the exceptions in a production context.
dev-master
2017-10-03 09:02 UTC
Requires
- php: >=5.3.0
- hediet/contracts: ^0.1.0
This package is not auto-updated.
Last update: 2022-02-01 13:10:05 UTC
README
Not ready for production yet...
Usage :
concilio\contractor::get()->log(__FILE__, __FUNCTION__);
concilio\contractor::get()->log(__FILE__, __FUNCTION__)->require(isset($variable) == true);
$i = 0;
$j = 1;
concilio\contractor::get()->log(__FILE__, __FUNCTION__)->evaluate(
function test() use($i, $j) {
return $i == $j;
});