restructured session driver interfaces and added cookie session driver.

This commit is contained in:
Taylor Otwell
2011-08-02 21:05:20 -05:00
parent 3583bc3b09
commit 32f383205e
9 changed files with 76 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
<?php namespace System\Session;
interface Sweeper {
/**
* Delete all expired sessions.
*
* @param int $expiration
* @return void
*/
public function sweep($expiration);
}