Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | CRAP |
<?php | |
/** | |
* @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl> | |
*/ | |
namespace Team3\PayU\Communication\Sender; | |
use Buzz\Message\RequestInterface; | |
use Buzz\Message\Response; | |
use Team3\PayU\Communication\ClientException as PayUClientException; | |
use Team3\PayU\Configuration\Credentials\CredentialsInterface; | |
/** | |
* Encapsulates all client (e.g. cURL) related options and sending function. | |
* | |
* Interface SenderInterface | |
* @package Team3\PayU\Communication\Sender | |
*/ | |
interface SenderInterface | |
{ | |
/** | |
* @param RequestInterface $request | |
* @param CredentialsInterface $credentials | |
* | |
* @return Response | |
* @throws PayUClientException | |
*/ | |
public function send(RequestInterface $request, CredentialsInterface $credentials); | |
} |