Movatterモバイル変換


[0]ホーム

URL:


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

Commit7c6922c

Browse files
committed
Minor tweaks
1 parentb3242f6 commit7c6922c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎components/finder.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,11 @@ You can also define your own sorting algorithm with ``sort()`` method::
194194

195195
You can reverse any sorting by using the ``reverseSorting()`` method::
196196

197+
// results will be sorted "Z to A" instead of the default "A to Z"
197198
$finder->sortByName()->reverseSorting();
198199

199200
..versionadded::4.2
200-
The ``reverseSorting()`` methodto reverse the sort orderwas introduced in Symfony 4.2.
201+
The ``reverseSorting()`` method was introduced in Symfony 4.2.
201202

202203
..note::
203204

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp