zendframework/zf2 — pull request #3212 by marc-mabe (2012-12-13 06:40:22+00:00)
Title: Cache: Now an empty namespace means disabling namespace support

Now an empty namespace means disabling namespace support

* Namespace prefixes of empty namespaces are empty (no namespace separator)
* Some optimisations on empty namespaces
* Empty namespaces on "clearByNamespace" throws an InvalidArgumentException
* Empty prefixes on "clearByPrefix" throws an InvalidArgumentException
* Support for "clearByNamespace" on memory adapter

@weierophinney: This is a new PR to get merged into the `develop` branch. This also fixes the issue with `testGetTotalSpace` of the memory adapter and the missing exception of the session adapter :)

Old PR: #2931