src/MCCache.php
public function set($key, $value, $ttl = false)
    {
        return $this->mc->set($key, $value, null, (int)$ttl);
    }
public function set($key, $value, $ttl = false)
    {
        return $this->mc->set($key, $value, null, (int)$ttl);
    }
public function set ( $ key , $ value , $ ttl = false ) { return $ this -> mc -> set ( $ key , $ value , null , ( int ) $ ttl ) ; }
Place an item into the cache

@param string $key The cache key.
@param mixed $value The value to be stored. (Warning: Caches cannot store items of type resource.)
@param int $ttl The time to live, in seconds. The time before the object should expire.
@return bool True if successful, false otherwise.
Place an item into the cache