e-butik/EbutikMongoSessionBundle — pull request #12 by vmattila (2012-08-13 23:00:05+00:00)
Title: Removed @Preload from Session and moved it to Storage's flush(); implemented doBeforeFlush() in Storage

Removed @PreLoad annotation from Session document accessed_at field to allow queries against session collections. Added access time update operation to Storage's flush() function (see below).

Added also a protected function doBeforeFlush() into Storage to allow custom operations in inherited storage classes before flushing the document into database.