Lavender\Cloud\Sina\Cache\MemcacheStore::__construct PHP 메소드

__construct() 공개 메소드

Create a new Memcache store.
public __construct ( Memcache $memcache, string $prefix = '' ) : void
$memcache Memcache
$prefix string
리턴 void
    public function __construct(Memcache $memcache, $prefix = '')
    {
        $this->memcache = $memcache;
        $this->prefix = strlen($prefix) > 0 ? $prefix . ':' : '';
    }