I get a reflection exception when I try to retrieve a document which has (amongst others) a property declared as follows:
@es\Property(name="documentPart", type="object", objectName="MyNameDocumentsBundle:DocumentPart", multiple=true)
The document_dir in the config is set to: MyPath1/MyPath2
Exception:
ReflectionException: Class MyName\Bundle\MyBundle\MyPath1/MyPath2\DocumentPart does not exist
This seems to be related to #102 - it seems to work if I add the str_replace which was added in this pull request to getNamespace(...) in MetadataCollector.php.
Is this a bug or am I doing something wrong?