Skip to content

Commit 3ba1c67

Browse files
authored
Merge pull request #69 from ThomasLandauer/patch-1
Adding recommendation for Symfony users
2 parents 18dd720 + dcfb3d4 commit 3ba1c67

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Codeception/Module/Doctrine2.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,9 @@ protected function proceedSeeInRepository(string $entity, array $params = []): a
881881

882882
/**
883883
* Selects field value from repository.
884-
* It builds query based on array of parameters.
884+
* It builds a query based on an array of parameters.
885885
* You can use entity associations to build complex queries.
886+
* For Symfony users, it's recommended to [use the entity's repository instead](#Grabbing-Entities-with-Symfony)
886887
*
887888
* Example:
888889
*
@@ -909,8 +910,9 @@ public function grabFromRepository(string $entity, string $field, array $params
909910

910911
/**
911912
* Selects entities from repository.
912-
* It builds query based on array of parameters.
913+
* It builds a query based on an array of parameters.
913914
* You can use entity associations to build complex queries.
915+
* For Symfony users, it's recommended to [use the entity's repository instead](#Grabbing-Entities-with-Symfony)
914916
*
915917
* Example:
916918
*
@@ -938,8 +940,9 @@ public function grabEntitiesFromRepository(string $entity, array $params = []):
938940

939941
/**
940942
* Selects a single entity from repository.
941-
* It builds query based on array of parameters.
943+
* It builds a query based on an array of parameters.
942944
* You can use entity associations to build complex queries.
945+
* For Symfony users, it's recommended to [use the entity's repository instead](#Grabbing-Entities-with-Symfony)
943946
*
944947
* Example:
945948
*

0 commit comments

Comments
 (0)