TermIteratorInterface
extends
Iterator
in
Tags
Table of Contents
Methods
- contains() : bool
- current() : TermInterface|null
- getValues() : array<string|int, string>
- Extracts values of all terms and returns them as an array.
- intersect() : self
- skip() : self
Methods
contains()
public
contains(TermCompareInterface $term) : bool
Parameters
- $term : TermCompareInterface
Return values
boolcurrent()
public
current() : TermInterface|null
Return values
TermInterface|nullgetValues()
Extracts values of all terms and returns them as an array.
public
getValues() : array<string|int, string>
Return values
array<string|int, string>intersect()
public
intersect(array<string|int, TermInterface>|Iterator<string|int, TermInterface>|IteratorAggregate<string|int, TermInterface>|TermInterface $terms) : self
Parameters
- $terms : array<string|int, TermInterface>|Iterator<string|int, TermInterface>|IteratorAggregate<string|int, TermInterface>|TermInterface
Return values
selfskip()
public
skip(array<string|int, TermInterface>|Iterator<string|int, TermInterface>|IteratorAggregate<string|int, TermInterface>|TermInterface $terms) : self
Parameters
- $terms : array<string|int, TermInterface>|Iterator<string|int, TermInterface>|IteratorAggregate<string|int, TermInterface>|TermInterface