refactoring session for better architecture.

This commit is contained in:
Taylor Otwell
2011-09-15 20:23:30 -05:00
parent a97c45e034
commit 5a9696da77
14 changed files with 446 additions and 385 deletions

View File

@@ -0,0 +1,21 @@
<?php namespace Laravel\Session\Transporters;
interface Transporter {
/**
* Get the session identifier for the request.
*
* @return string
*/
public function get();
/**
* Store the session identifier for the request.
*
* @param string $id
* @param array $config
* @return void
*/
public function put($id, $config);
}