MatthiasMullie\Scrapbook\Buffered\BufferedStore::__construct PHP Method

__construct() public method

public __construct ( MatthiasMullie\Scrapbook\KeyValueStore $cache )
$cache MatthiasMullie\Scrapbook\KeyValueStore The real cache we'll buffer for
    public function __construct(KeyValueStore $cache)
    {
        $this->local = new Buffer();
        $this->transaction = new Transaction($this->local, $cache);
    }