mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-11-16 18:26:12 +01:00
Daniel Siepmann
928f42e7fc
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
29 lines
816 B
YAML
29 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'
|