1
0
Fork 0

Fix entity path splitter

pull/483/head
Fuyao Zhao 2017-06-16 21:09:31 +08:00 committed by Alan Li
parent 5a0fa66a34
commit c41a492f3b
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class DynamicLoader extends NodeVisitorAbstract
public function createDefintion($callNode, $entityNode, $nameNode)
{
$entityString = $entityNode->value;
$entityParts = explode('\\', $entityString);
$entityParts = explode('/', $entityString);
$enityName = array_pop($entityParts);
$fieldName = $enityName;