concilio/contractor (packagist): 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.
Keywords: exception|code|validation|assert|assertion|argument|contract|precondition|invariant