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

Breadcrumb

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

class MatchAllStrictGroupsResult

Hierarchy

  • class \Composer\Pcre\MatchAllStrictGroupsResult

Expanded class hierarchy of MatchAllStrictGroupsResult

File

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

Namespace

Composer\Pcre
View source
final class MatchAllStrictGroupsResult {
    
    /**
     * An array of match group => list of matched strings
     *
     * @readonly
     * @var array<int|string, list<string>>
     */
    public $matches;
    
    /**
     * @readonly
     * @var 0|positive-int
     */
    public $count;
    
    /**
     * @readonly
     * @var bool
     */
    public $matched;
    
    /**
     * @param 0|positive-int $count
     * @param array<list<string>> $matches
     */
    public function __construct(int $count, array $matches) {
        $this->matches = $matches;
        $this->matched = (bool) $count;
        $this->count = $count;
    }

}

Members

Title Sort descending Modifiers Object type Summary
MatchAllStrictGroupsResult::$count public property @readonly
MatchAllStrictGroupsResult::$matched public property @readonly
MatchAllStrictGroupsResult::$matches public property An array of match group =&gt; list of matched strings
MatchAllStrictGroupsResult::__construct public function

API Navigation

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