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

Breadcrumb

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

function StaticPrefixCollection::handleError

1 call to StaticPrefixCollection::handleError()
StaticPrefixCollection::getCommonPrefix in vendor/symfony/routing/Matcher/Dumper/StaticPrefixCollection.php
Gets the full and static common prefixes between two route patterns.

File

vendor/symfony/routing/Matcher/Dumper/StaticPrefixCollection.php, line 197

Class

StaticPrefixCollection
Prefix tree of routes preserving routes order.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

public static function handleError(int $type, string $msg) : bool {
    return str_contains($msg, 'Compilation failed: lookbehind assertion is not fixed length') || str_contains($msg, 'Compilation failed: length of lookbehind assertion is not limited');
}

API Navigation

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