You are here

class SitemapParserFactory in Warmer 8

Same name and namespace in other branches
  1. 2.x modules/warmer_cdn/src/SitemapParserFactory.php \Drupal\warmer_cdn\SitemapParserFactory

The Sitemap Parser factory.

Hierarchy

Expanded class hierarchy of SitemapParserFactory

1 file declares its use of SitemapParserFactory
SitemapWarmer.php in modules/warmer_cdn/src/Plugin/warmer/SitemapWarmer.php
1 string reference to 'SitemapParserFactory'
warmer_cdn.services.yml in modules/warmer_cdn/warmer_cdn.services.yml
modules/warmer_cdn/warmer_cdn.services.yml
1 service uses SitemapParserFactory
warmer_cdn.sitemap_parser.factory in modules/warmer_cdn/warmer_cdn.services.yml
Drupal\warmer_cdn\SitemapParserFactory

File

modules/warmer_cdn/src/SitemapParserFactory.php, line 10

Namespace

Drupal\warmer_cdn
View source
class SitemapParserFactory {

  /**
   * {@inheritdoc}
   */
  public function get(string $user_agent = SitemapParser::DEFAULT_USER_AGENT, array $config = []) : SitemapParser {
    return new SitemapParser($user_agent, $config);
  }

}

Members