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

Breadcrumb

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

class MatchStrictGroupsResult

Hierarchy

  • class \Composer\Pcre\MatchStrictGroupsResult

Expanded class hierarchy of MatchStrictGroupsResult

File

vendor/composer/pcre/src/MatchStrictGroupsResult.php, line 14

Namespace

Composer\Pcre
View 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 =&gt; string matched
MatchStrictGroupsResult::__construct public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal