private function FastCache::FixKeyAndBin in Drupal driver for SQL Server and SQL Azure 8
Make sure that keys without binaries have their own binaries and that a valid test prefix is used.
Parameters
string $key:
string $bin:
Return value
void
3 calls to FastCache::FixKeyAndBin()
- FastCache::cache_clear_all in drivers/lib/ Drupal/ Driver/ Database/ sqlsrv/ FastCache.php 
- cache_clear_all wrapper.
- FastCache::get in drivers/lib/ Drupal/ Driver/ Database/ sqlsrv/ FastCache.php 
- cache_get wrapper.
- FastCache::set in drivers/lib/ Drupal/ Driver/ Database/ sqlsrv/ FastCache.php 
- cache_set wrapper.
File
- drivers/lib/ Drupal/ Driver/ Database/ sqlsrv/ FastCache.php, line 72 
- fastcache class.
Class
- FastCache
- Static caching layer.
Namespace
Drupal\Driver\Database\sqlsrvCode
private function FixKeyAndBin(&$key, &$bin) {
  // We always need a binary, if non is specified, this item
  // should be treated as having it's own binary.
  if (empty($bin)) {
    $bin = $key;
  }
  $bin = $this->prefix . $bin;
}