Skip to content

[Doctrine] Update doctrine.rst #17557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ control behavior:

#[Route('/product/{category}/{slug}/comments/{comment_slug}')]
public function show(
#[MapEntity(mapping: ['date' => 'date', 'slug' => 'slug'])]
#[MapEntity(mapping: ['category' => 'category', 'slug' => 'slug'])]
Product $product
#[MapEntity(mapping: ['comment_slug' => 'slug'])]
Comment $comment
Expand All @@ -777,7 +777,7 @@ control behavior:

``exclude``
Configures the properties that should be used in the ``findOneBy()``
method by *excluding* one or more properties so that not *all* are used:
method by *excluding* one or more properties so that not *all* are used::

#[Route('/product/{slug}/{date}')]
public function show(
Expand Down