Skip to content

Commit c53fc15

Browse files
authored
Fixed minor typo
Update bin console command
1 parent 8168136 commit c53fc15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/symfony4.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ doctrine:
6060
dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity"
6161
```
6262
63-
After that, running **php app/console doctrine:mapping:info** you should see the output:
63+
After that, running **php bin/console doctrine:mapping:info** you should see the output:
6464
6565
```
6666
Found 3 entities mapped in entity manager default:
@@ -86,7 +86,7 @@ mappings:
8686
```
8787
8888
The configuration above, adds a **/MappedSuperclass** into directory depth, after running
89-
**php app/console doctrine:mapping:info** you should only see now:
89+
**php bin/console doctrine:mapping:info** you should only see now:
9090
9191
```
9292
Found 2 entities mapped in entity manager default:
@@ -339,8 +339,8 @@ class BlogPost
339339

340340
Now, let's have some fun:
341341

342-
- if you have not created the database yet, run `php app/console doctrine:database:create`
343-
- create the schema `php app/console doctrine:schema:create`
342+
- if you have not created the database yet, run `php bin/console doctrine:database:create`
343+
- create the schema `php bin/console doctrine:schema:create`
344344

345345
Everything will work just fine, you can modify the **App\Controller\DemoController**
346346
and add an action to test how it works:

0 commit comments

Comments
 (0)