|
The Dom\TokenList classIntroductionRepresents a set of tokens in an attribute (e.g. class names). Class synopsis
final
Dom\TokenList
implements
IteratorAggregate
Countable
/* Properties */
public
readonly
int
$length;
public
string
$value;
/* Methods */
public void add(string
...$tokens )public bool contains(string
$token )public int count()
public Iterator getIterator()
public stringnull item(int
$index )public void remove(string
...$tokens )public bool replace(string
$token , string $newToken )public bool supports(string
$token )public bool toggle(string
$token , boolnull $force = null )Properties
Notes
|