for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Dmitry Gladyshev <[email protected]>
* @date 17/08/2016 13:52
*/
namespace Yandex\Direct\Transport;
use Yandex\Direct\ConfigurableTrait;
use Yandex\Direct\CredentialsInterface;
* Class TransportRequest
* @package Yandex\Direct
class Request implements RequestInterface
{
use ConfigurableTrait;
* @var string
protected $method;
protected $service;
* @var array
protected $params = [];
protected $headers = [];
* @var CredentialsInterface
protected $credentials;
* Request constructor.
* @param array $requestAttributes
public function __construct(array $requestAttributes = [])
$this->setOptions($requestAttributes);
}
* @return string
public function getService()
return $this->service;
public function getMethod()
return $this->method;
* @return array
public function getParams()
return $this->params;
* @inheritdoc
public function getCredentials()
return $this->credentials;
public function getHeaders()
return $this->headers;