for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Geolim4
* Date: 12/02/2018
* Time: 23:10
*/
namespace Phpfastcache\Drivers\Couchbase;
use Phpfastcache\Config\ConfigurationOption;
class Config extends ConfigurationOption
{
* @var string
protected $host = '127.0.0.1';
* @var int
protected $port;
protected $username;
protected $password;
protected $bucketName = 'default';
* @return string
public function getHost(): string
return $this->host;
}
* @param string $host
* @return Config
public function setHost(string $host): Config
$this->host = $host;
return $this;
* @return int|null
public function getPort()
return $this->port;
* @param int $port
public function setPort(int $port = null): Config
$this->port = $port;
public function getUsername(): string
return $this->username;
* @param string $username
public function setUsername(string $username): Config
$this->username = $username;
public function getPassword(): string
return $this->password;
* @param string $password
public function setPassword(string $password): Config
$this->password = $password;
public function getBucketName(): string
return $this->bucketName;
* @param string $bucketName
public function setBucketName(string $bucketName): Config
$this->bucketName = $bucketName;