initial commit; version 22.5.12042
This commit is contained in:
67
libs/Phpfastcache8/Drivers/Couchbasev3/Config.php
Normal file
67
libs/Phpfastcache8/Drivers/Couchbasev3/Config.php
Normal file
@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of phpFastCache.
|
||||
*
|
||||
* @license MIT License (MIT)
|
||||
*
|
||||
* For full copyright and license information, please see the docs/CREDITS.txt file.
|
||||
*
|
||||
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> https://www.phpfastcache.com
|
||||
* @author Georges.L (Geolim4) <contact@geolim4.com>
|
||||
*
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Phpfastcache\Drivers\Couchbasev3;
|
||||
|
||||
use Phpfastcache\Drivers\Couchbase\Config as CoubaseV2Config;
|
||||
|
||||
class Config extends CoubaseV2Config
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $bucketName = 'phpfastcache';
|
||||
|
||||
protected $scopeName = self::DEFAULT_VALUE;
|
||||
|
||||
protected $collectionName = self::DEFAULT_VALUE;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getScopeName(): string
|
||||
{
|
||||
return $this->scopeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $scopeName
|
||||
* @return Config
|
||||
*/
|
||||
public function setScopeName(string $scopeName): Config
|
||||
{
|
||||
$this->scopeName = $scopeName;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCollectionName(): string
|
||||
{
|
||||
return $this->collectionName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $collectionName
|
||||
* @return Config
|
||||
*/
|
||||
public function setCollectionName(string $collectionName): Config
|
||||
{
|
||||
$this->collectionName = $collectionName;
|
||||
return $this;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user