PHP Classes

File: config/config.yml

Recommend this page to a friend!
  Classes of Jelle Sebreghts   PHP TheSportsDb   config/config.yml   Download  
File: config/config.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP TheSportsDb
Get game information from the Sports DB site API
Author: By
Last change:
Date: 7 years ago
Size: 2,997 bytes
 

Contents

Class file image Download
parameters: thesportsdb.api_key: '1' services: thesportsdb.client.http: class: GuzzleHttp\Client thesportsdb.factory.container: class: TheSportsDb\Entity\Factory\FactoryContainer calls: - [setDefaultFactory, ['@thesportsdb.default.factory']] thesportsdb.repository.container: class: TheSportsDb\Entity\Repository\RepositoryContainer tags: - { name: repository_container } thesportsdb.property.mapper: class: FastNorth\PropertyMapper\Mapper thesportsdb.entity.manager: class: TheSportsDb\Entity\EntityManager tags: - { name: entity_manager, tag: entity_manager_consumer } arguments: ['@thesportsdb.property.mapper'] calls: - [setFactoryContainer, ['@thesportsdb.factory.container']] - [setRepositoryContainer, ['@thesportsdb.repository.container']] - [registerClass, [league]] - [registerClass, [sport]] - [registerClass, [team]] - [registerClass, [event]] - [registerClass, [player]] - [registerClass, [season]] thesportsdb.repository.sport: class: TheSportsDb\Entity\Repository\SportRepository tags: - { name: entity_repository, tag: repository_container } - { name: entity_manager_consumer } thesportsdb.repository.league: class: TheSportsDb\Entity\Repository\LeagueRepository tags: - { name: entity_repository, tag: repository_container } - { name: entity_manager_consumer } thesportsdb.repository.season: class: TheSportsDb\Entity\Repository\SeasonRepository tags: - { name: entity_repository, tag: repository_container } - { name: entity_manager_consumer } thesportsdb.repository.event: class: TheSportsDb\Entity\Repository\EventRepository tags: - { name: entity_repository, tag: repository_container } - { name: entity_manager_consumer } thesportsdb.repository.player: class: TheSportsDb\Entity\Repository\PlayerRepository tags: - { name: entity_repository, tag: repository_container } - { name: entity_manager_consumer } thesportsdb.repository.team: class: TheSportsDb\Entity\Repository\TeamRepository tags: - { name: entity_repository, tag: repository_container } - { name: entity_manager_consumer } thesportsdb.client.thesportsdb: class: TheSportsDb\Http\TheSportsDbClient arguments: ['%thesportsdb.api_key%', '@thesportsdb.client.http'] thesportsdb.default.factory: class: TheSportsDb\Entity\Factory\Factory tags: - { name: entity_manager_consumer } arguments: ['@thesportsdb.client.thesportsdb'] thesportsdb: class: TheSportsDb\TheSportsDb tags: - { name: entity_manager_consumer }