Page MenuHomeWickedGov Phorge

LastEditInfo.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

LastEditInfo.php

<?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

Mime Type
text/x-php
Expires
Sat, Oct 3, 13:53 (1 d, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
18/05/58467356809ad4a6b459fa24b002
Default Alt Text
LastEditInfo.php (1 KB)

Event Timeline