Mercurial > hg > isophonics-drupal-site
comparison vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectRepository.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
32 /** | 32 /** |
33 * Finds an object by its primary key / identifier. | 33 * Finds an object by its primary key / identifier. |
34 * | 34 * |
35 * @param mixed $id The identifier. | 35 * @param mixed $id The identifier. |
36 * | 36 * |
37 * @return object The object. | 37 * @return object|null The object. |
38 */ | 38 */ |
39 public function find($id); | 39 public function find($id); |
40 | 40 |
41 /** | 41 /** |
42 * Finds all objects in the repository. | 42 * Finds all objects in the repository. |
66 /** | 66 /** |
67 * Finds a single object by a set of criteria. | 67 * Finds a single object by a set of criteria. |
68 * | 68 * |
69 * @param array $criteria The criteria. | 69 * @param array $criteria The criteria. |
70 * | 70 * |
71 * @return object The object. | 71 * @return object|null The object. |
72 */ | 72 */ |
73 public function findOneBy(array $criteria); | 73 public function findOneBy(array $criteria); |
74 | 74 |
75 /** | 75 /** |
76 * Returns the class name of the object managed by the repository. | 76 * Returns the class name of the object managed by the repository. |