mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
48 lines
1.1 KiB
PHP
48 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Zend Framework (http://framework.zend.com/)
|
|
*
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
*/
|
|
|
|
namespace Zend\Cache\Storage\Adapter;
|
|
|
|
/**
|
|
* These are options specific to the APC adapter
|
|
*/
|
|
class ApcOptions extends AdapterOptions
|
|
{
|
|
/**
|
|
* Namespace separator
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $namespaceSeparator = ':';
|
|
|
|
/**
|
|
* Set namespace separator
|
|
*
|
|
* @param string $namespaceSeparator
|
|
* @return ApcOptions
|
|
*/
|
|
public function setNamespaceSeparator($namespaceSeparator)
|
|
{
|
|
$namespaceSeparator = (string) $namespaceSeparator;
|
|
$this->triggerOptionEvent('namespace_separator', $namespaceSeparator);
|
|
$this->namespaceSeparator = $namespaceSeparator;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get namespace separator
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getNamespaceSeparator()
|
|
{
|
|
return $this->namespaceSeparator;
|
|
}
|
|
}
|