public function setToken($key, $value, $duration = 60)
    {
        $this->cache->put('reactor.tokens.' . $key, $value, $duration);
    }
public function setToken($key, $value, $duration = 60)
    {
        $this->cache->put('reactor.tokens.' . $key, $value, $duration);
    }
public function setToken ( $ key , $ value , $ duration = 60 ) { $ this -> cache -> put ( 'reactor.tokens.' . $ key , $ value , $ duration ) ; }
Setter for token

@param string $key
@param string $value
@param int $duration
Setter for token