Add missing _defaults to examples Services.yaml in docs

In order to provide fully consistent and working examples.
This commit is contained in:
Daniel Siepmann 2020-08-03 10:36:36 +02:00
parent d754120517
commit 68d1b44008
5 changed files with 25 additions and 0 deletions

View file

@ -20,6 +20,11 @@ Default widget configuration.
:file:`Configuration/Services.yaml`::
services:
_defaults:
autowire: true
autoconfigure: true
public: false
DanielSiepmann\Tracking\Dashboard\Provider\NewestPageviews:
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'

View file

@ -21,6 +21,11 @@ Default widget configuration.
:file:`Configuration/Services.yaml`::
services:
_defaults:
autowire: true
autoconfigure: true
public: false
DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerDay:
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'

View file

@ -21,6 +21,11 @@ Default widget configuration.
:file:`Configuration/Services.yaml`::
services:
_defaults:
autowire: true
autoconfigure: true
public: false
DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerOperatingSystem:
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'

View file

@ -21,6 +21,11 @@ Default widget configuration.
:file:`Configuration/Services.yaml`::
services:
_defaults:
autowire: true
autoconfigure: true
public: false
DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage:
arguments:
$queryBuilder: '@querybuilder.tx_tracking_pageview'

View file

@ -28,6 +28,11 @@ Example widget configuration.
:file:`Configuration/Services.yaml`::
services:
_defaults:
autowire: true
autoconfigure: true
public: false
dashboard.provider.danielsiepmann.tracking.records.news:
class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews'
arguments: