Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f2a650c

Browse files
authored
Add documentation on bootstrap file with Symfony 5+ (#171)
* Add documentation on bootstrap file with Symfony 5+ In Symfony 5, the recipe does not create a `config/bootstrap.php` file. It should be located in `tests` folder if you have some tests, or missing if not, so I added a link to document how to deal with that file. * typos
1 parent c4b9106 commit f2a650c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ $kernel->boot();
7777
return $kernel->getContainer()->get('doctrine')->getManager();
7878
```
7979

80+
In Symfony 5, the bootstrap file might be located in `tests/` folder or even missing. Check the [Symfony documentation about custom bootstrap process](https://symfony.com/doc/current/testing/bootstrap.html) for more informations.
81+
8082
## Custom types
8183

8284
If your application uses custom Doctrine types, you can write your own type descriptors to analyse them properly.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /