Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5969614
LastEditInfo.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
LastEditInfo.php
View Options
<?php
namespace
MediaWiki\Extension\AbuseFilter\Filter
;
/**
* (Mutable) value object that holds information about the last edit to a filter.
*/
class
LastEditInfo
{
/** @var int */
private
$userID
;
/** @var string */
private
$userName
;
/** @var string */
private
$timestamp
;
/**
* @param int $userID
* @param string $userName
* @param string $timestamp
*/
public
function
__construct
(
int
$userID
,
string
$userName
,
string
$timestamp
)
{
$this
->
userID
=
$userID
;
$this
->
userName
=
$userName
;
$this
->
timestamp
=
$timestamp
;
}
/**
* @return int
*/
public
function
getUserID
():
int
{
return
$this
->
userID
;
}
/**
* @param int $id
*/
public
function
setUserID
(
int
$id
):
void
{
$this
->
userID
=
$id
;
}
/**
* @return string
*/
public
function
getUserName
():
string
{
return
$this
->
userName
;
}
/**
* @param string $name
*/
public
function
setUserName
(
string
$name
):
void
{
$this
->
userName
=
$name
;
}
/**
* @return string
*/
public
function
getTimestamp
():
string
{
return
$this
->
timestamp
;
}
/**
* @param string $timestamp
*/
public
function
setTimestamp
(
string
$timestamp
):
void
{
$this
->
timestamp
=
$timestamp
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 13:53 (1 d, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
18/05/58467356809ad4a6b459fa24b002
Default Alt Text
LastEditInfo.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment