Commit a6c083f3 authored by Taylor Otwell's avatar Taylor Otwell

added activity method to session.

parent baac975f
......@@ -262,6 +262,16 @@ class Payload {
return $this->get(Session::csrf_token);
}
/**
* Get the last activity for the session.
*
* @return int
*/
public function activity()
{
return $this->session['last_activity'];
}
/**
* Store the session payload in storage.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment