point-tools/src/Skobkin/Bundle/PointToolsBundle/Resources/config/services.yml

18 lines
631 B
YAML
Raw Normal View History

services:
skobkin_point_tools.http_client:
class: %guzzle.client.class%
arguments: [ "%point_base_url%" ]
tags:
- { name: guzzle.client }
skobkin_point_tools.api_user:
2015-05-28 20:07:48 +00:00
class: Skobkin\Bundle\PointToolsBundle\Service\UserApi
arguments:
- @skobkin_point_tools.http_client
- "%point_use_https%"
- "%point_api_base_url%"
- @doctrine.orm.entity_manager
skobkin_point_tools.subscriptions_manager:
class: Skobkin\Bundle\PointToolsBundle\Service\SubscriptionsManager
arguments: [ @doctrine.orm.entity_manager ]