Add recipes for timiki/rpc-server-bundle >= 4.2

(cherry picked from commit e0e355432c)
This commit is contained in:
n.netesin
2020-11-15 22:14:45 +03:00
parent 9cfe4f852a
commit 58ac9013cc
4 changed files with 28 additions and 0 deletions
@@ -0,0 +1,15 @@
# Read the documentation: https://github.com/timiki/rpc-server-bundle
rpc_server:
mapping: '%kernel.project_dir%/src/Method'
# id cache service, must be instance of Doctrine\Common\Cache\CacheProvider
# by default use file cache
cache: null
# id serializer service, must be instance of Timiki\Bundle\RpcServerBundle\Serializer\SerializerInterface
# by default use 'rpc.server.serializer.base' service
serializer: 'rpc.server.serializer.base'
@@ -0,0 +1,4 @@
rpc:
path: /rpc
defaults: { _controller: RpcServerBundle:Rpc:handler }
methods: [POST]
@@ -0,0 +1,9 @@
{
"bundles": {
"Timiki\\Bundle\\RpcServerBundle\\RpcServerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}