Dom\TokenList::supports
(PHP 8 >= 8.4.0)
Dom\TokenList::supports — Returns whether the given token is supported
Description
Returns whether token is in the
associated attribute's supported tokens.
Parameters
token
The token.
Errors/Exceptions
Throws a TypeError when the attribute does not define a supported tokens list.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
