Matcher that groups other matchers without ordering ("&&" and "||" combiners)
More...
|
static | allOf (array $matchers) |
| Implements "&&": All of the options, in any order.
|
|
static | someOf (array $matchers) |
| Implements "||": One or more of the options, in any order.
|
|
static | create (... $args) |
| Create an instance.
|
|
Matcher that groups other matchers without ordering ("&&" and "||" combiners)
- See also
- https://www.w3.org/TR/2019/CR-css-values-3-20190606/#component-combinators
◆ __construct()
Wikimedia\CSS\Grammar\UnorderedGroup::__construct |
( |
array | $matchers, |
|
|
| $all ) |
- Parameters
-
Matcher[] | $matchers | |
bool | $all | Whether all matchers must be used |
◆ allOf()
static Wikimedia\CSS\Grammar\UnorderedGroup::allOf |
( |
array | $matchers | ) |
|
|
static |
Implements "&&": All of the options, in any order.
- Parameters
-
- Returns
- static
◆ someOf()
static Wikimedia\CSS\Grammar\UnorderedGroup::someOf |
( |
array | $matchers | ) |
|
|
static |
Implements "||": One or more of the options, in any order.
- Parameters
-
- Returns
- static
The documentation for this class was generated from the following file: