thuecat/Configuration/Services.yaml

25 lines
664 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
'cache.thuecat_fetchdata':
class: 'TYPO3\CMS\Core\Cache\Frontend\FrontendInterface'
factory:
- '@TYPO3\CMS\Core\Cache\CacheManager'
- 'getCache'
arguments:
- 'thuecat_fetchdata'