refactoring the session class.

This commit is contained in:
Taylor Otwell
2011-11-01 23:11:08 -05:00
parent 2e1fed294f
commit 6048d20921
12 changed files with 317 additions and 87 deletions

View File

@@ -159,7 +159,7 @@ class Form {
throw new \Exception("A session driver must be specified before using CSRF tokens.");
}
return IoC::container()->core('session')->get('csrf_token');
return Session::get('csrf_token');
}
/**