correction of alias to generate php-symfony (#2547)

* [BUG][php-symfony] Fix alias generation

* fix

* add bundle alias option and alias logic when it is not defined

* run bin/utils/ensure-up-to-date to update php-symfony.md
This commit is contained in:
HichemChiouchiou
2019-04-05 16:51:31 +02:00
committed by William Cheng
parent 67b3766332
commit 1436ee1da6
10 changed files with 88 additions and 71 deletions

View File

@@ -65,7 +65,7 @@ Step 3: Register the routes:
```yaml
# app/config/routing.yml
open_apiserver:
open_api_server:
resource: "@OpenAPIServerBundle/Resources/config/routing.yml"
```
@@ -111,7 +111,7 @@ services:
acme.my_bundle.api.pet:
class: Acme\MyBundle\Api\PetApi
tags:
- { name: "open_apiserver.api", api: "pet" }
- { name: "open_api_server.api", api: "pet" }
# ...
```