Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430418
DOMTokenList.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
DOMTokenList.php
View Options
<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace
Wikimedia\IDLeDOM
;
/**
* DOMTokenList
*
* @see https://dom.spec.whatwg.org/#interface-domtokenlist
*
* @property int $length
* @property string $value
* @phan-forbid-undeclared-magic-properties
*/
interface
DOMTokenList
extends
\ArrayAccess
,
\IteratorAggregate
,
\Countable
{
/**
* @return int
*/
public
function
getLength
():
int
;
/**
* @param int $index
* @return ?string
*/
public
function
item
(
int
$index
):
?
string
;
/**
* @param string $token
* @return bool
*/
public
function
contains
(
string
$token
):
bool
;
/**
* @param string ...$tokens
* @return void
*/
public
function
add
(
string
...
$tokens
):
void
;
/**
* @param string ...$tokens
* @return void
*/
public
function
remove
(
string
...
$tokens
):
void
;
/**
* @param string $token
* @param ?bool $force
* @return bool
*/
public
function
toggle
(
string
$token
,
?
bool
$force
=
null
):
bool
;
/**
* @param string $token
* @param string $newToken
* @return bool
*/
public
function
replace
(
string
$token
,
string
$newToken
):
bool
;
/**
* @param string $token
* @return bool
*/
public
function
supports
(
string
$token
):
bool
;
/**
* @return string
*/
public
function
getValue
():
string
;
/**
* @param string $val
*/
public
function
setValue
(
string
$val
):
void
;
/**
* @return \Iterator<string> Value iterator returning string items
*/
public
function
getIterator
();
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 18:43 (5 h, 36 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/f1/7f78545c06d1ae7664f185062a4d
Default Alt Text
DOMTokenList.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment