class Groups
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Metadata/Api/Groups.php \PHPUnit\Metadata\Api\Groups
- 11.1.x vendor/symfony/serializer/Attribute/Groups.php \Symfony\Component\Serializer\Attribute\Groups
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
@psalm-immutable
Hierarchy
- class \PHPUnit\TextUI\XmlConfiguration\Groups
Expanded class hierarchy of Groups
15 string references to 'Groups'
- AttributeMetadata::__sleep in vendor/
symfony/ serializer/ Mapping/ AttributeMetadata.php - Returns the names of the properties that should be serialized.
- Cascade::__construct in vendor/
symfony/ validator/ Constraints/ Cascade.php - Constraint::addImplicitGroupName in vendor/
symfony/ validator/ Constraint.php - Adds the given group if this constraint is in the Default group.
- Constraint::__get in vendor/
symfony/ validator/ Constraint.php - Returns the value of a lazily initialized option.
- Constraint::__isset in vendor/
symfony/ validator/ Constraint.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Groups.php, line 21
Namespace
PHPUnit\TextUI\XmlConfigurationView source
final class Groups {
private readonly GroupCollection $include;
private readonly GroupCollection $exclude;
public function __construct(GroupCollection $include, GroupCollection $exclude) {
$this->include = $include;
$this->exclude = $exclude;
}
public function hasInclude() : bool {
return !$this->include
->isEmpty();
}
public function include() : GroupCollection {
return $this->include;
}
public function hasExclude() : bool {
return !$this->exclude
->isEmpty();
}
public function exclude() : GroupCollection {
return $this->exclude;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Groups::$exclude | private | property | |
Groups::$include | private | property | |
Groups::exclude | public | function | |
Groups::hasExclude | public | function | |
Groups::hasInclude | public | function | |
Groups::include | public | function | |
Groups::__construct | public | function |