protected function getMatcherDumperInstance(): MatcherDumperInterface
{ return new $this->options
['matcher_dumper_class'
]($this->
getRouteCollection());
} /**
* Provides the ConfigCache factory implementation, falling back to a
* default implementation if necessary.
*/
private function getConfigCacheFactory(): ConfigCacheFactoryInterface
{ return $this->configCacheFactory ??=
new ConfigCacheFactory($this->options
['debug'
]);
} private static function getCompiledRoutes(string
$path): array
{ if ([] === self::
$cache && \
function_exists('opcache_invalidate'
) &&
filter_var(\
ini_get('opcache.enable'
), \FILTER_VALIDATE_BOOL
) && (!\
in_array(\PHP_SAPI,
['cli', 'phpdbg'
], true
) ||
filter_var(\
ini_get('opcache.enable_cli'
), \FILTER_VALIDATE_BOOL
))) { self::
$cache = null;
} if (null === self::
$cache) { return require $path;
}