GB_Session_Tokens::get_instance
Get a session token manager instance for a user.
This method contains a filter that allows a plugin to swap out the session manager for a subclass of GB_Session_Tokens.
Signature
public function get_instance(int
$user_id )
Parameters
$user_id
— int
User whose session to manage.
Returns
- GB_Session_Tokens
- of child of class
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
47 | 25 | error | Method name "GB_Session_Tokens::get_instance" is not in camel caps format |
53 | 11 | error | Whitespace found at end of line |