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

Breadcrumb

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

function UnexpectedNullMatchException::fromFunction

Overrides PcreException::fromFunction

File

vendor/composer/pcre/src/UnexpectedNullMatchException.php, line 16

Class

UnexpectedNullMatchException

Namespace

Composer\Pcre

Code

public static function fromFunction($function, $pattern) {
    throw new \LogicException('fromFunction should not be called on ' . self::class . ', use ' . PcreException::class);
}
RSS feed
Powered by Drupal