add recipes for timiki/rpc-server-bundle:5.* (#1451)

This commit is contained in:
Nikita Netyosin
2022-12-30 15:52:26 +03:00
committed by GitHub
parent 0c4b896bfc
commit 0fa56cfb29
4 changed files with 28 additions and 0 deletions

View File

@@ -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 instanced of Psr\Cache\CacheItemPoolInterface
# by default use file cache
cache: null
# id serializer service, must be instanced of Timiki\Bundle\RpcServerBundle\Serializer\SerializerInterface
# by default use 'rpc.server.serializer.base' service
serializer: null

View File

@@ -0,0 +1,4 @@
rpc:
path: /rpc
defaults: { _controller: Timiki\Bundle\RpcServerBundle\Controller\RpcController::handlerAction }
methods: [ POST ]

View File

@@ -0,0 +1,9 @@
{
"bundles": {
"Timiki\\Bundle\\RpcServerBundle\\RpcServerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}

View File