for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WSSC\Components;
use WSSC\Contracts\WscCommonsContract;
class ClientConfig
{
private $timeout = WscCommonsContract::DEFAULT_TIMEOUT;
private $headers = [];
private $fragmentSize = WscCommonsContract::DEFAULT_FRAGMENT_SIZE;
private $context;
/**
* @return int
*/
public function getTimeout(): int
return $this->timeout;
}
* @param int $timeout
public function setTimeout(int $timeout)
$this->timeout = $timeout;
* @return array
public function getHeaders(): array
return $this->headers;
* @param array $headers
public function setHeaders(array $headers)
$this->headers = $headers;
public function getFragmentSize(): int
return $this->fragmentSize;
* @param int $fragmentSize
public function setFragmentSize(int $fragmentSize)
$this->fragmentSize = $fragmentSize;
* @return mixed
public function getContext()
return $this->context;
* @param mixed $context
public function setContext($context)
$this->context = $context;