src/Filter/FilterUrlBuilder.php
private function getPageIdFromUrlHook(?array $fragments): ?array
    {
        if (!(isset($GLOBALS['TL_HOOKS']['getPageIdFromUrl']) && \is_array($GLOBALS['TL_HOOKS']['getPageIdFromUrl']))) {
            return $fragments;
        }
        foreach ($GLOBALS['TL_HOOKS']['getPageIdFromUrl'] as $callback) {
            $fragments = System::importStatic($callback[0])->{$callback[1]}($fragments);
        }

        return $fragments;
    }
private function getPageIdFromUrlHook(?array $fragments): ?array
    {
        if (!(isset($GLOBALS['TL_HOOKS']['getPageIdFromUrl']) && \is_array($GLOBALS['TL_HOOKS']['getPageIdFromUrl']))) {
            return $fragments;
        }
        foreach ($GLOBALS['TL_HOOKS']['getPageIdFromUrl'] as $callback) {
            $fragments = System::importStatic($callback[0])->{$callback[1]}($fragments);
        }

        return $fragments;
    }
Call the getPageIdFromUrl HOOKs.

@param array|null $fragments The input fragments.

@return array|null

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)