ds-site/Configuration/Services.yaml

44 lines
1.3 KiB
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
DanielSiepmann\DsSite\:
resource: '../Classes/*'
# Widgets
DanielSiepmann\DsSite\Dashboard\Widgets\OwnRssFeed:
class: DanielSiepmann\DsSite\Dashboard\Widgets\OwnRssFeed
arguments: ['ownRss']
tags:
- name: dashboard.widget
identifier: ownRss
widgetGroups: 'own'
# Foreign Classes
DanielSiepmann\Tracking\DI\Dashboard\Widgets\Settings\PageViewsBar:
factory:
- '@DanielSiepmann\Tracking\Dashboard\Widgets\SettingsFactory'
- 'fromArray'
arguments:
$widgetIdentifier: 'pageViewsBar'
$settings:
blackListedPages: [1, 11, 38]
DanielSiepmann\Tracking\DI\Dashboard\Widgets\Settings\PageViewsPerPageDoughnut:
factory:
- '@DanielSiepmann\Tracking\Dashboard\Widgets\SettingsFactory'
- 'fromArray'
arguments:
$widgetIdentifier: 'pageViewsPerPageDoughnut'
$settings:
blackListedPages: [1, 11, 38]
DanielSiepmann\Tracking\DI\Dashboard\Widgets\Settings\NewestPageviewsList:
factory:
- '@DanielSiepmann\Tracking\Dashboard\Widgets\SettingsFactory'
- 'fromArray'
arguments:
$widgetIdentifier: 'pageViewsPerPageDoughnut'
$settings:
blackListedPages: [1, 11, 38]