Commit a6c083f3 by Taylor Otwell

added activity method to session.

parent baac975f
......@@ -263,6 +263,16 @@ class Payload {
}
/**
* Get the last activity for the session.
*
* @return int
*/
public function activity()
{
return $this->session['last_activity'];
}
/**
* Store the session payload in storage.
*
* This method will be called automatically at the end of the request.
......
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