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

Breadcrumb

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

function PhpFileCleaner::match

@param-out array<int|string, string> $match

Parameters

non-empty-string $regex:

null|array<mixed> $match:

2 calls to PhpFileCleaner::match()
PhpFileCleaner::clean in vendor/composer/class-map-generator/src/PhpFileCleaner.php
PhpFileCleaner::skipHeredoc in vendor/composer/class-map-generator/src/PhpFileCleaner.php

File

vendor/composer/class-map-generator/src/PhpFileCleaner.php, line 244

Class

PhpFileCleaner
@author Jordi Boggiano <j.boggiano@seld.be> @internal

Namespace

Composer\ClassMapGenerator

Code

private function match(string $regex, ?array &$match = null) : bool {
    return Preg::isMatchStrictGroups($regex, $this->contents, $match, 0, $this->index);
}

API Navigation

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