|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| item (int $index) | |
| contains (string $token) | |
| add (string ... $tokens) | |
| remove (string ... $tokens) | |
| toggle (string $token, ?bool $force=null) | |
| replace (string $token, string $newToken) | |
| supports (string $token) | |
| count () | |
| getIterator () | |
Data Fields | |
| int | $length |
| string | $value |
@not-serializable @strict-properties
Definition at line 2098 of file php_dom.stub.php.
| Dom\TokenList::add | ( | string ... | $tokens | ) |
Definition at line 2110 of file php_dom.stub.php.
| Dom\TokenList::contains | ( | string | $token | ) |
Definition at line 2109 of file php_dom.stub.php.
| Dom\TokenList::count | ( | ) |
| Dom\TokenList::getIterator | ( | ) |
@tentative-return-type
Implements IteratorAggregate.
Definition at line 2120 of file php_dom.stub.php.
| Dom\TokenList::item | ( | int | $index | ) |
Definition at line 2108 of file php_dom.stub.php.
| Dom\TokenList::remove | ( | string ... | $tokens | ) |
Definition at line 2111 of file php_dom.stub.php.
| Dom\TokenList::replace | ( | string | $token, |
| string | $newToken ) |
Definition at line 2113 of file php_dom.stub.php.
| Dom\TokenList::supports | ( | string | $token | ) |
Definition at line 2114 of file php_dom.stub.php.
| Dom\TokenList::toggle | ( | string | $token, |
| ?bool | $force = null ) |
Definition at line 2112 of file php_dom.stub.php.
| int Dom\TokenList::$length |
@readonly @virtual
Definition at line 2107 of file php_dom.stub.php.
| string Dom\TokenList::$value |
@virtual
Definition at line 2116 of file php_dom.stub.php.