public function __construct(Memcache $memcache, $prefix = '') { $this->memcache = $memcache; $this->prefix = strlen($prefix) > 0 ? $prefix . ':' : ''; }