File "ValidatorInterface.php"

Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/vendor/cardinity/cardinity-sdk-php/src/Method/ValidatorInterface.php
File size: 336 B (336 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php

namespace Cardinity\Method;

/**
 * Interface for method validators
 */
interface ValidatorInterface
{
    /**
     * Validates given method values against its constraints
     *
     * @param MethodInterface $method
     * @throws Cardinity\Exception\InvalidData
     */
    public function validate(MethodInterface $method);
}