zendframework/zf2 — pull request #1187 by mwillbanks (2012-05-09 20:20:06+00:00)
Title: Zend Session SaveHandler DbTableGateway & Cache fixes

This Pull Request supersedes #945 and contains the following:
1. A new DbTableGateway SaveHandler with a DbTableGatewayOptions class
* The previous DbTable class encapsulated a ton of logic, this changes it to take column names and a table gateway object to simplify the amount of logic involved.
* Removed the option to override a lifetime
* Removed the option on how to handle primary key; now it *always* requires a session name and session id column to do the lookups
2. Removed existing save handler and unit test
3. Updated cache to fix some docblocks, interfaces and things of that nature.

Will be done in a later PR:
1. Change the DbTableGatewayTest to leverage Mocks for DB instead of sqlite memory
2. Documentation on the entire Zend\Session component