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

Breadcrumb

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

function ReplaceResult::__construct

Parameters

0|positive-int $count:

File

vendor/composer/pcre/src/ReplaceResult.php, line 37

Class

ReplaceResult

Namespace

Composer\Pcre

Code

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