Log in
Model

CompositeUrlFinder

Magento\UrlRewrite\Model\CompositeUrlFinder

What it does

This class acts as a composite pattern implementation that delegates URL rewrite lookups to multiple child URL finder classes.

Developers use this when they need to search for URL rewrites across different sources (like database, cache, or dynamic generation), with the class iterating through registered finders until a match is found or all sources are checked.

Public Methods

  • findAllByData()
  • findOneByData()