thuecat/Configuration/Services.yaml
Daniel Siepmann 928f42e7fc
Add merged opening hours (#104)
This allows to fetch merged opening hours instead of actually edited
opening hours.
They will be merged per valid time span.
The data structure is a bit different as each time span has a list of
week days, each with its own open and end.

Relates: #10246
2023-01-05 09:30:23 +00:00

30 lines
816 B
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
WerkraumMedia\ThueCat\:
resource: '../Classes/*'
WerkraumMedia\ThueCat\Domain\Import\Importer\FetchData:
arguments:
$requestFactory: '@WerkraumMedia\ThueCat\Domain\Import\RequestFactory'
$cache: '@cache.thuecat_fetchdata'
WerkraumMedia\ThueCat\Frontend\DataProcessing\:
resource: '../Classes/Frontend/DataProcessing/*'
public: true
WerkraumMedia\ThueCat\Service\DateBasedFilter:
class: 'WerkraumMedia\ThueCat\Service\DateBasedFilter\FilterBasedOnTypo3Context'
public: true
'cache.thuecat_fetchdata':
class: 'TYPO3\CMS\Core\Cache\Frontend\FrontendInterface'
factory:
- '@TYPO3\CMS\Core\Cache\CacheManager'
- 'getCache'
arguments:
- 'thuecat_fetchdata'