Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
better-wp-security
/
core
/
lib
/
lockout
:
class-user-context.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace iThemesSecurity\Lib\Lockout; final class User_Context extends Context { /** @var int */ private $user_id; /** * ITSEC_User_Lockout_Context constructor. * * @param string $lockout_module * @param int $user_id */ public function __construct( $lockout_module, $user_id ) { parent::__construct( $lockout_module ); $this->user_id = $user_id; } /** * Get the user ID that was locked out. * * @return int */ public function get_user_id() { return $this->user_id; } public function make_execute_lock_context() { return new Execute_Lock\User_Context( $this, $this->get_user_id() ); } }