/** * Clears registered {@link DataObjects}. Useful for unit tests. * * @return void */ public static function clear_registered_dataobjects() { self::$dataobjects = array(); }