Skip to content

Commit

Permalink
Merge pull request #395 from ThomasLandauer/patch-1
Browse files Browse the repository at this point in the history
Update expressions.rst: Adding `use Doctrine\Common\Collections\Order;`
  • Loading branch information
greg0ire authored Feb 25, 2024
2 parents ff6dafb + dabc5fb commit 8901817
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ orderBy
Sets the ordering of the result of this Criteria.

.. code-block:: php
use Doctrine\Common\Collections\Order;
$criteria->orderBy(['name' => Order::Ascending]);
setFirstResult
Expand Down

0 comments on commit 8901817

Please sign in to comment.