make timeline & paginator service private

This commit is contained in:
2020-07-28 13:10:59 +02:00
parent 930ab84a58
commit e05031a743
7 changed files with 45 additions and 33 deletions

View File

@@ -40,14 +40,6 @@ services:
chill.main.search_provider:
class: Chill\MainBundle\Search\SearchProvider
public: true
chill.main.timeline_builder:
class: Chill\MainBundle\Timeline\TimelineBuilder
arguments:
- "@doctrine.orm.entity_manager"
public: true
calls:
- [ setContainer, ["@service_container"]]
chill.main.validator.role_scope_scope_presence:
class: Chill\MainBundle\Validation\Validator\RoleScopeScopePresence

View File

@@ -1,7 +1,6 @@
services:
chill_main.paginator_factory:
class: Chill\MainBundle\Pagination\PaginatorFactory
public: true # TODO sf4 check if service is public or if container is must be loaded via __constuct
arguments:
- "@request_stack"
- "@router"

View File

@@ -0,0 +1,7 @@
services:
chill_main.timeline_builder:
class: Chill\MainBundle\Timeline\TimelineBuilder
arguments:
- "@doctrine.orm.entity_manager"
calls:
- [ setContainer, ["@service_container"]]