B

MmaScrapersServiceProvider::boot() — Method in class MmaScrapersServiceProvider

D

DefaultHttpClientClass in namespace Cable8mm\MmaScrapers\Http

A default implementation of the HttpClientInterface using Guzzle HTTP client.

FightDeduplicator::deduplicate() — Method in class FightDeduplicator

Deduplicates a list of FightDTOs by grouping them based on their similarity and merging them using a FightAggregator.

E

EventAggregatorClass in namespace Cable8mm\MmaScrapers\Aggregators

The EventAggregator is responsible for removing duplicate events.

EventParserInterfaceClass in namespace Cable8mm\MmaScrapers\Contracts

Interface EventParserInterface

PromotionScraper::events() — Method in class PromotionScraper

Scrape events from the promotion's website and return an array of EventDTO objects.

EventDTOClass in namespace Cable8mm\MmaScrapers\DTO

Data Transfer Object representing an event.

EventScraperClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Scrapers

The EventScraper class is responsible for scraping event details from a given URL and returning an EventDTO.

EventsScraperClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Scrapers

The EventsScraper class is responsible for scraping a list of events from a given URL and returning an array of EventDTOs.

F

FightAggregatorClass in namespace Cable8mm\MmaScrapers\Aggregators

The FightAggregator is responsible for merging two FightDTOs that represent the same fight.

FighterAggregatorClass in namespace Cable8mm\MmaScrapers\Aggregators

The FighterAggregator is responsible for merging two FighterDTOs that represent the same fighter.

FightDTOClass in namespace Cable8mm\MmaScrapers\DTO

Data Transfer Object representing a fight.

FighterDTOClass in namespace Cable8mm\MmaScrapers\DTO

Data Transfer Object representing a fighter.

FighterMatcherClass in namespace Cable8mm\MmaScrapers\Matchers

The FighterMatcher is responsible for determining if two FighterDTOs represent the same fighter.

FightMethodNormalizerClass in namespace Cable8mm\MmaScrapers\Normalizers

Class responsible for normalizing fight method strings to FightMethod enum values.

FightStatusNormalizerClass in namespace Cable8mm\MmaScrapers\Normalizers

Class responsible for normalizing fight status strings to FightStatus enum values.

FightDeduplicatorClass in namespace Cable8mm\MmaScrapers\Services

The FightDeduplicator is responsible for deduplicating a list of FightDTOs by grouping them based on their similarity and merging them using a FightAggregator.

FighterScraperClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Scrapers

The FighterScraper class is responsible for scraping fighter details from a given URL and returning a FighterDTO.

FightsScraperClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Scrapers

The FightsScraper class is responsible for scraping fight details from a given URL and returning an array of FightDTOs.

FighterScraperClass in namespace Cable8mm\MmaScrapers\Sources\Sherdog\Scrapers

The FighterScraper class is responsible for scraping fighter details from a given URL and returning a FighterDTO.

G

HttpClientInterface::get() — Method in class HttpClientInterface

Perform an HTTP GET request to the specified URL and return the response body as a string.

DefaultHttpClient::get() — Method in class DefaultHttpClient

Perform an HTTP GET request to the specified URL and return the response body as a string.

FightDeduplicator::group() — Method in class FightDeduplicator

Groups fights that are considered the same based on the FightAggregator's isSameFight method.

H

HttpClientInterfaceClass in namespace Cable8mm\MmaScrapers\Contracts

Interface HttpClientInterface

I

EventAggregator::isSameEvent() — Method in class EventAggregator

Determines if two EventDTOs represent the same event based on their name and date.

FightAggregator::isSameFight() — Method in class FightAggregator

Determines if two FightDTOs represent the same fight based on their fighters.

FighterAggregator::isSameFighter() — Method in class FighterAggregator

Determines if two FighterDTOs represent the same fighter based on their Sherdog ID or similar names.

FighterMatcher::isSame() — Method in class FighterMatcher

Determines if two FighterDTOs represent the same fighter based on their Sherdog ID or similar names.

M

EventAggregator::merge() — Method in class EventAggregator

Merges two EventDTOs into one, preferring non-null values.

FightAggregator::merge() — Method in class FightAggregator

Merges two FightDTOs into one, preferring non-null values and resolving conflicts.

FighterAggregator::merge() — Method in class FighterAggregator

Merges two FighterDTOs into one, preferring non-null values and resolving conflicts.

MmaScrapersServiceProviderClass in namespace Cable8mm\MmaScrapers\Laravel

MmaScrapersServiceProvider is a Laravel service provider that registers the HTTP client implementation for the MMA Scrapers project.

N

FightMethodNormalizer::normalize() — Method in class FightMethodNormalizer

Normalize a fight method string to a FightMethod enum value.

FightStatusNormalizer::normalize() — Method in class FightStatusNormalizer

Normalize a fight status string to a FightStatus enum value.

WeightClassNormalizer::normalize() — Method in class WeightClassNormalizer

Normalize a weight class string to a WeightClass enum value.

P

EventParserInterface::parseEvents() — Method in class EventParserInterface

Parse multiple events from the given HTML and return an array of EventDTO objects.

EventParserInterface::parseEvent() — Method in class EventParserInterface

Parse a single event from the given HTML and return an EventDTO object.

EventParserInterface::parseFights() — Method in class EventParserInterface

Parse fights from the given HTML and return an array of FightDTO objects.

PromotionScraperClass in namespace Cable8mm\MmaScrapers\Contracts

Interface PromotionScraper

ParseEventClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Parsers

The ParseEvent class is responsible for parsing event details from HTML and returning an EventDTO.

ParseEventsClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Parsers

The ParseEvents class is responsible for parsing a list of events from HTML and returning an array of EventDTOs.

ParseFighterClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Parsers

The ParseFighter class is responsible for parsing fighter details from HTML and returning a FighterDTO.

ParseFightsClass in namespace Cable8mm\MmaScrapers\Sources\BlackCombat\Parsers

The ParseFights class is responsible for parsing fight details from HTML and returning an array of FightDTOs.

ParseFighterClass in namespace Cable8mm\MmaScrapers\Sources\Sherdog\Parsers

The ParseFighter class is responsible for parsing fighter details from HTML and returning a FighterDTO.

ParseSearchResultsClass in namespace Cable8mm\MmaScrapers\Sources\Sherdog\Parsers

The ParseSearchResults class is responsible for parsing search results from HTML and returning an array of fighter information.

R

MmaScrapersServiceProvider::register() — Method in class MmaScrapersServiceProvider

Register the service provider.

SherdogIdResolver::resolve() — Method in class SherdogIdResolver

Resolves a Sherdog fighter ID from a list of candidates based on name similarity.

S

ScraperClass in namespace Cable8mm\MmaScrapers\Contracts

Interface Scraper

Scraper::scrape() — Method in class Scraper

Scrape data from the given URL and return an iterable of results.

SherdogIdResolverClass in namespace Cable8mm\MmaScrapers\Services

Resolves a Sherdog fighter ID from a list of candidates based on name similarity.

EventScraper::scrape() — Method in class EventScraper

Scrape event details from the given URL and return an EventDTO.

EventsScraper::scrape() — Method in class EventsScraper

Scrape a list of events from the given URL and return an array of EventDTOs.

FighterScraper::scrape() — Method in class FighterScraper

Scrape fighter details from the given URL and return a FighterDTO.

FightsScraper::scrape() — Method in class FightsScraper

Scrape fight details from the given URL and return an array of FightDTOs.

FighterScraper::scrapeById() — Method in class FighterScraper

Scrape fighter details by Sherdog ID and return a FighterDTO.

SearchFighterScraperClass in namespace Cable8mm\MmaScrapers\Sources\Sherdog\Scrapers

The SearchFighterScraper class is responsible for scraping search results for fighters from Sherdog based on a given name.

SearchFighterScraper::search() — Method in class SearchFighterScraper

Scrape search results for fighters from Sherdog based on the given name.

W

WeightClassNormalizerClass in namespace Cable8mm\MmaScrapers\Normalizers

Class responsible for normalizing weight class strings to WeightClass enum values.

_

FightAggregator::__construct() — Method in class FightAggregator

Constructs a new FightAggregator with a FighterAggregator dependency.

EventDTO::__construct() — Method in class EventDTO

EventDTO constructor.

FightDTO::__construct() — Method in class FightDTO

FightDTO constructor.

FighterDTO::__construct() — Method in class FighterDTO

FighterDTO constructor.

DefaultHttpClient::__construct() — Method in class DefaultHttpClient

Initializes the DefaultHttpClient with a Guzzle HTTP client.

FightDeduplicator::__construct() — Method in class FightDeduplicator

Constructs a new FightDeduplicator with a FightAggregator dependency.

ParseEvent::__invoke() — Method in class ParseEvent

Parse event details from HTML and return an EventDTO.

ParseEvents::__invoke() — Method in class ParseEvents

Parse a list of events from HTML and return an array of EventDTOs.

ParseFighter::__invoke() — Method in class ParseFighter

Parse fighter details from HTML and return a FighterDTO.

ParseFights::__invoke() — Method in class ParseFights

Parse fight details from HTML and return an array of FightDTOs.

EventScraper::__construct() — Method in class EventScraper

EventScraper constructor.

EventsScraper::__construct() — Method in class EventsScraper

EventsScraper constructor.

FighterScraper::__construct() — Method in class FighterScraper

FighterScraper constructor.

FightsScraper::__construct() — Method in class FightsScraper

FightsScraper constructor.

ParseFighter::__invoke() — Method in class ParseFighter

Parse fighter details from HTML and return a FighterDTO.

ParseSearchResults::__invoke() — Method in class ParseSearchResults

Parse search results from HTML and return an array of fighter information.

FighterScraper::__construct() — Method in class FighterScraper

FighterScraper constructor.

SearchFighterScraper::__construct() — Method in class SearchFighterScraper

SearchFighterScraper constructor.