-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathservices.yml
executable file
·32 lines (28 loc) · 1.26 KB
/
services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
parameters:
thrift.client.class: Overblog\ThriftBundle\Client\ThriftClient
thrift.client.test.class: Overblog\ThriftBundle\Client\ThriftTestClient
thrift.compile_warmer.class: Overblog\ThriftBundle\CacheWarmer\ThriftCompileCacheWarmer
thrift.factory.class: Overblog\ThriftBundle\Factory\ThriftFactory
thrift.classloader.listener.class: Overblog\ThriftBundle\Listener\ClassLoaderListener
services:
thrift.compile_warmer:
class: '%thrift.compile_warmer.class%'
public: true
arguments: ['%kernel.cache_dir%', '%kernel.root_dir%', '%thrift.config.compiler.path%', '%thrift.config.services%']
thrift.factory:
class: '%thrift.factory.class%'
public: true
arguments: ['%thrift.config.services%']
thrift.classloader.listener:
arguments: ['%kernel.cache_dir%']
class: '%thrift.classloader.listener.class%'
public: true
tags:
- { name: kernel.event_listener, event: kernel.request, method: onKernelRequest, priority: 255 }
- { name: kernel.event_listener, event: console.command, method: onConsoleCommand, priority: 255 }
thrift.routing.loader:
class: Overblog\ThriftBundle\Routing\ThriftRoutingLoader
public: true
arguments: ['%thrift.config.servers%']
tags:
- { name: routing.loader, priority: 255 }