|
38 | 38 | use function var_export;
|
39 | 39 |
|
40 | 40 | /**
|
41 |
| - * Access the database using [Doctrine2 ORM](https://docs.doctrine-project.org/projects/doctrine-orm/en/latest/). |
| 41 | + * Access the database using [Doctrine ORM](https://docs.doctrine-project.org/projects/doctrine-orm/en/latest/). |
42 | 42 | *
|
43 | 43 | * When used with Symfony or Zend Framework 2, Doctrine's Entity Manager is automatically retrieved from Service Locator.
|
44 | 44 | * Set up your `functional.suite.yml` like this:
|
|
88 | 88 | * purge_mode: 1 # 1: DELETE (=default), 2: TRUNCATE
|
89 | 89 | * ```
|
90 | 90 | *
|
91 |
| - * ## Status |
92 |
| - * |
93 |
| - * * Maintainer: **davert** |
94 |
| - * * Stability: **stable** |
95 |
| - * * Contact: codecept@davert.mail.ua |
96 |
| - * |
97 |
| - * ## Config |
98 |
| - * |
99 | 91 | * ## Public Properties
|
100 | 92 | *
|
101 | 93 | * * `em` - Entity Manager
|
102 | 94 | *
|
103 |
| - * ## Note on parameters |
| 95 | + * ## Doctrine `Criteria` as query parameters |
104 | 96 | *
|
105 |
| - * Every method that expects some parameters to be checked against values in the database (`see...()`, |
106 |
| - * `dontSee...()`, `grab...()`) can accept instance of |
107 |
| - * [\Doctrine\Common\Collections\Criteria](https://www.doctrine-project.org/api/collections/latest/Doctrine/Common/Collections/Criteria.html) |
| 97 | + * Every method that expects some query parameters (`see...()`, |
| 98 | + * `dontSee...()`, `grab...()`) also accepts an instance of |
| 99 | + * [\Doctrine\Common\Collections\Criteria](https://www.doctrine-project.org/projects/doctrine-collections/en/stable/expressions.html) |
108 | 100 | * for more flexibility, e.g.:
|
109 | 101 | *
|
110 | 102 | * ```php
|
@@ -885,7 +877,6 @@ protected function proceedSeeInRepository(string $entity, array $params = []): a
|
885 | 877 | * @param string $field
|
886 | 878 | * @param array $params
|
887 | 879 | * @return mixed
|
888 |
| - * @version 1.1 |
889 | 880 | */
|
890 | 881 | public function grabFromRepository(string $entity, string $field, array $params = [])
|
891 | 882 | {
|
@@ -914,7 +905,6 @@ public function grabFromRepository(string $entity, string $field, array $params
|
914 | 905 | * @param class-string<T> $entity
|
915 | 906 | * @param array $params . For `IS NULL`, use `['field' => null]`
|
916 | 907 | * @return list<T>
|
917 |
| - * @version 1.1 |
918 | 908 | */
|
919 | 909 | public function grabEntitiesFromRepository(string $entity, array $params = []): array
|
920 | 910 | {
|
|
0 commit comments