public function remember($name, $value, $ttl = null)
    {
        if (!$this->has($name)) {
            return $this->set($name, $value, $ttl);
        }

        return $this->get($name);
    }
public function remember($name, $value, $ttl = null)
    {
        if (!$this->has($name)) {
            return $this->set($name, $value, $ttl);
        }

        return $this->get($name);
    }
public function remember ( $ name , $ value , $ ttl = null ) { if ( ! $ this -> has ( $ name ) ) { return $ this -> set ( $ name , $ value , $ ttl ) ; } return $ this -> get ( $ name ) ; }
If the name does not exist, insert value.

@param string                $name  The name of the item to store.
@param mixed                 $value The value of the item to store, must be serializable.
@param null|int|DateInterval $ttl   Optional. The TTL value of this item. If no value is sent and

@return bool

@author : evalor <master@evalor.cn>
If the name does not exist insert value .