wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
gateway_common/ValidationHelper.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

interface ValidationHelper {
    /**
     * Run validation on whatever normalized data we're responsible for,
     * and append errors.
     *
     * @param GatewayType $adapter
     * @param array $normalized Donation data in normalized form.
     * @param ErrorState &$errors Reference to error state
     * @return void
     */
    public function validate( GatewayType $adapter, $normalized, &$errors );
}