mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
58 lines
2.2 KiB
JSON
58 lines
2.2 KiB
JSON
{
|
|
"manifests": {
|
|
"timiki/rpc-server-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Timiki\\Bundle\\RpcServerBundle\\RpcServerBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"src/": "%SRC_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/rpc_server.yaml": {
|
|
"contents": [
|
|
"# 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'",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/rpc_server.yaml": {
|
|
"contents": [
|
|
"rpc:",
|
|
" path: /rpc",
|
|
" defaults: { _controller: RpcServerBundle:Rpc:handler }",
|
|
" methods: [POST]",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"src/Method/.gitignore": {
|
|
"contents": [
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "55f99c8a9901bcb5cbd75ab722c923dae9bfb4ef"
|
|
}
|
|
}
|
|
}
|