| @@ 167-173 (lines=7) @@ | ||
| 164 | * |
|
| 165 | * @return ORMException |
|
| 166 | */ |
|
| 167 | public static function invalidFindByCall($entityName, $fieldName, $method) |
|
| 168 | { |
|
| 169 | return new self( |
|
| 170 | "Entity '".$entityName."' has no field '".$fieldName."'. ". |
|
| 171 | "You can therefore not call '".$method."' on the entities' repository" |
|
| 172 | ); |
|
| 173 | } |
|
| 174 | ||
| 175 | /** |
|
| 176 | * @param string $entityName |
|
| @@ 182-188 (lines=7) @@ | ||
| 179 | * |
|
| 180 | * @return ORMException |
|
| 181 | */ |
|
| 182 | public static function invalidMagicCall($entityName, $fieldName, $method) |
|
| 183 | { |
|
| 184 | return new self( |
|
| 185 | "Entity '".$entityName."' has no field '".$fieldName."'. ". |
|
| 186 | "You can therefore not call '".$method."' on the entities' repository" |
|
| 187 | ); |
|
| 188 | } |
|
| 189 | ||
| 190 | /** |
|
| 191 | * @param string $entityName |
|