| @@ 414-423 (lines=10) @@ | ||
| 411 | return preg_replace('~[\\/\{\}@:\(\)]~', '_', $key); |
|
| 412 | } |
|
| 413 | ||
| 414 | private function getClassMetadata() |
|
| 415 | { |
|
| 416 | if (!isset($this->classMetadata)) { |
|
| 417 | $this->classMetadataCache = $this->sdk |
|
| 418 | ->getMapping() |
|
| 419 | ->getClassMetadata($this->entityName); |
|
| 420 | } |
|
| 421 | ||
| 422 | return $this->classMetadataCache; |
|
| 423 | } |
|
| 424 | } |
|
| 425 | ||
| @@ 233-242 (lines=10) @@ | ||
| 230 | return $this; |
|
| 231 | } |
|
| 232 | ||
| 233 | private function getClassMetadata() |
|
| 234 | { |
|
| 235 | if (!isset($this->classMetadata)) { |
|
| 236 | $this->classMetadataCache = $this->sdk |
|
| 237 | ->getMapping() |
|
| 238 | ->getClassMetadata($this->entityName); |
|
| 239 | } |
|
| 240 | ||
| 241 | return $this->classMetadataCache; |
|
| 242 | } |
|
| 243 | ||
| 244 | public function getIdGetter() |
|
| 245 | { |
|