framework/web/UrlManager.php
protected function getBuiltRulesFromCache($ruleDeclarations)
    {
        if (!$this->cache instanceof CacheInterface) {
            return false;
        }

        return $this->cache->get([$this->cacheKey, $this->ruleConfig, $ruleDeclarations]);
    }
protected function getBuiltRulesFromCache($ruleDeclarations)
    {
        if (!$this->cache instanceof CacheInterface) {
            return false;
        }

        return $this->cache->get([$this->cacheKey, $this->ruleConfig, $ruleDeclarations]);
    }
Provides the built URL rules that are associated with the $ruleDeclarations from cache.

@param array $ruleDeclarations the rule declarations. Each array element represents a single rule declaration.
Please refer to [[rules]] for the acceptable rule formats.
@return UrlRuleInterface[]|false the rule objects built from the given rule declarations or boolean `false` when
there are no cache items for this definition exists.
@since 2.0.14