Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MatchResult.php

function MatchResult::__construct

Parameters

0|positive-int $count:

array<string|null> $matches:

File

vendor/composer/pcre/src/MatchResult.php, line 34

Class

MatchResult

Namespace

Composer\Pcre

Code

public function __construct(int $count, array $matches) {
    $this->matches = $matches;
    $this->matched = (bool) $count;
}
RSS feed
Powered by Drupal