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

Breadcrumb

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

function MatchAllResult::__construct

Parameters

0|positive-int $count:

array<int|string, list<string|null>> $matches:

File

vendor/composer/pcre/src/MatchAllResult.php, line 40

Class

MatchAllResult

Namespace

Composer\Pcre

Code

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