Skip to content

Commit 4bc600e

Browse files
Jérôme Deuchnorddunglas
andcommitted
Fix wording and command
Co-Authored-By: Kévin Dunglas <[email protected]>
1 parent 386e4c1 commit 4bc600e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ class Offer
143143
It is the minimal configuration required to expose `Product` and `Offer` entities as JSON-LD documents through an hypermedia
144144
web API.
145145

146-
**Tip**: if you create your entities with Symfony's [MakerBundle](https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html), you can also create your API resource entities with the `--api-resource` argument:
146+
**Tip**: you can also use Symfony [MakerBundle](https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html) thanks to the `--api-resource` option:
147147

148148
```bash
149-
php bin/console make:entity --api-resource
149+
docker-compose exec php bin/console make:entity --api-resource
150150
```
151151

152152
If you are familiar with the Symfony ecosystem, you noticed that entity classes are also mapped with Doctrine ORM annotations

0 commit comments

Comments
 (0)