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