|
@@ 627-631 (lines=5) @@
|
| 624 |
|
|
| 625 |
|
$schemaName = ltrim($this->lexer->token['value'], '\\'); |
| 626 |
|
|
| 627 |
|
if (strrpos($schemaName, ':') !== false) { |
| 628 |
|
list($namespaceAlias, $simpleClassName) = explode(':', $schemaName); |
| 629 |
|
|
| 630 |
|
$schemaName = $this->em->getConfiguration()->getEntityNamespace($namespaceAlias) . '\\' . $simpleClassName; |
| 631 |
|
} |
| 632 |
|
|
| 633 |
|
$exists = class_exists($schemaName, true) || interface_exists($schemaName, true); |
| 634 |
|
|
|
@@ 1338-1343 (lines=6) @@
|
| 1335 |
|
$token = $this->lexer->token; |
| 1336 |
|
$className = $token['value']; |
| 1337 |
|
|
| 1338 |
|
if (strrpos($className, ':') !== false) { |
| 1339 |
|
list($namespaceAlias, $simpleClassName) = explode(':', $className); |
| 1340 |
|
|
| 1341 |
|
$className = $this->em->getConfiguration() |
| 1342 |
|
->getEntityNamespace($namespaceAlias) . '\\' . $simpleClassName; |
| 1343 |
|
} |
| 1344 |
|
|
| 1345 |
|
$this->match(Lexer::T_OPEN_PARENTHESIS); |
| 1346 |
|
|