Skip to content

Commit

Permalink
Make services public
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg-web authored Mar 15, 2018
1 parent 2355071 commit 22be5c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@ parameters:
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 }

0 comments on commit 22be5c7

Please sign in to comment.