class MatchAllStrictGroupsResult
Hierarchy
- class \Composer\Pcre\MatchAllStrictGroupsResult
Expanded class hierarchy of MatchAllStrictGroupsResult
File
-
vendor/
composer/ pcre/ src/ MatchAllStrictGroupsResult.php, line 14
Namespace
Composer\PcreView source
final class MatchAllStrictGroupsResult {
/**
* An array of match group => list of matched strings
*
* @readonly
* @var array<int|string, list<string>>
*/
public $matches;
/**
* @readonly
* @var 0|positive-int
*/
public $count;
/**
* @readonly
* @var bool
*/
public $matched;
/**
* @param 0|positive-int $count
* @param array<list<string>> $matches
*/
public function __construct(int $count, array $matches) {
$this->matches = $matches;
$this->matched = (bool) $count;
$this->count = $count;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MatchAllStrictGroupsResult::$count | public | property | @readonly |
MatchAllStrictGroupsResult::$matched | public | property | @readonly |
MatchAllStrictGroupsResult::$matches | public | property | An array of match group => list of matched strings |
MatchAllStrictGroupsResult::__construct | public | function |