src/DoctrineProxy.php
public function set($key, $value, $expiration = 0)
    {
        $this->cache->save($key, $value, $expiration);
    }
public function set($key, $value, $expiration = 0)
    {
        $this->cache->save($key, $value, $expiration);
    }
public function set ( $ key , $ value , $ expiration = 0 ) { $ this -> cache -> save ( $ key , $ value , $ expiration ) ; }
Puts data into cache.

@param string $key
@param mixed  $value
@param int    $expiration Sets a specific lifetime for this cache entry (0 => infinite lifeTime).
Puts data into cache .