for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WebPT\ZendCouchbaseModule;
use Assert\Assertion;
use Zend\Stdlib\AbstractOptions;
class BucketOptions extends AbstractOptions
{
/** @var string */
private $bucket = 'default';
private $password = '';
/**
* @return string
*/
public function getBucket()
return $this->bucket;
}
* @param string $bucket
* @return void
* @throws \Assert\AssertionFailedException
public function setBucket($bucket)
Assertion::string($bucket);
$this->bucket = $bucket;
public function getPassword()
return $this->password;
* @param string $password
public function setPassword($password)
Assertion::string($password);
$this->password = $password;