public function __construct(Reader $reader)
{
$this->reader = $reader;
$this->nodeAnnotationMetadataFactory = new NodeAnnotationMetadataFactory($reader);
$this->propertyAnnotationMetadataFactory = new PropertyAnnotationMetadataFactory($reader);
$this->IdAnnotationMetadataFactory = new IdAnnotationMetadataFactory($reader);
$this->relationshipEntityMetadataFactory = new RelationshipEntityMetadataFactory($reader);
}