class Group
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Framework/Attributes/Group.php \PHPUnit\Framework\Attributes\Group
- 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Group.php \PHPUnit\TextUI\Configuration\Group
- 11.1.x vendor/phpunit/phpunit/src/Metadata/Group.php \PHPUnit\Metadata\Group
Selector group class
@author Marco Marchiò <marco.mm89@gmail.com>
Hierarchy
- class \Peast\Selector\Node\Group
Expanded class hierarchy of Group
44 string references to 'Group'
- AnnotationParser::forClass in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php - @psalm-param class-string $className
- AnnotationParser::forMethod in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php - @psalm-param class-string $className @psalm-param non-empty-string $methodName
- claro_form_alter in core/
themes/ claro/ claro.theme - Implements hook_form_alter().
- FieldPluginBase::addAdditionalFields in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Add 'additional' fields to the query.
- FieldPluginBase::clickSort in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Adds an ORDER BY clause to the query for click sort columns.
File
-
vendor/
mck89/ peast/ lib/ Peast/ Selector/ Node/ Group.php, line 19
Namespace
Peast\Selector\NodeView source
class Group {
/**
* Selector combinators
*
* @var Combinator[]
*/
protected $combinators = array();
/**
* Adds a combinator
*
* @param Combinator $combinators Combinator
*
* @return $this
*/
public function addCombinator(Combinator $combinators) {
$this->combinators[] = $combinators;
return $this;
}
/**
* Executes the current group on the given matches
*
* @param Matches $matches Matches
*/
public function exec(Matches $matches) {
foreach ($this->combinators as $combinator) {
$combinator->exec($matches);
}
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Group::$combinators | protected | property | Selector combinators |
Group::addCombinator | public | function | Adds a combinator |
Group::exec | public | function | Executes the current group on the given matches |