Merge pull request #1036

This commit is contained in:
symfony-flex-server[bot]
2020-12-26 12:53:05 +00:00
committed by GitHub
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%/"
}
}