for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AlexCk\MailchimpBundle\Service\GuzzleClient;
class GuzzleClientConfig
{
/**
* @var string
*/
private $username;
private $password;
private $baseUri;
private $version;
private $accept;
private $contentType;
* GuzzleClientConfig constructor.
public function __construct()
$this->setContentType('application/json');
}
public function getUsername(): string
return $this->username;
public function setUsername(string $username): GuzzleClientConfig
$this->username = $username;
return $this;
public function getPassword(): string
return $this->password;
public function setPassword(string $password): GuzzleClientConfig
$this->password = $password;
public function getBaseUri(): string
return $this->baseUri;
public function setBaseUri(string $baseUri): GuzzleClientConfig
$this->baseUri = $baseUri;
public function getVersion(): string
return $this->version;
public function setVersion(string $version): GuzzleClientConfig
$this->version = $version;
public function getAccept(): string
return $this->accept;
public function setAccept(string $accept): GuzzleClientConfig
$this->accept = $accept;
public function getContentType(): string
return $this->contentType;
public function setContentType(string $contentType): GuzzleClientConfig
$this->contentType = $contentType;