/** * Clean the properties cache. * * During unit tests we need to be able to reset all caches so that each new test starts in a known state. * Intended for use only for testing, phpunit calls this before every test. */ public static function reset_caches() { self::$propertiescache = null; }