mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
make timeline & paginator service private
This commit is contained in:
@@ -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
|
||||
|
@@ -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"
|
||||
|
7
Resources/config/services/timeline.yml
Normal file
7
Resources/config/services/timeline.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
chill_main.timeline_builder:
|
||||
class: Chill\MainBundle\Timeline\TimelineBuilder
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
calls:
|
||||
- [ setContainer, ["@service_container"]]
|
Reference in New Issue
Block a user