DCOM-30: Documentation Bug regarding setAnnotationNamespaceAlias #613

Closed
doctrinebot opened this Issue Nov 12, 2010 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user felicitus:

In the documentation on http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en#setup-and-configuration:namespace-aliases I'm given the following example:

$reader->setAnnotationNamespaceAlias('MyCompany\Annotations', 'my');

However, this only works here if I do it that way:

$reader->setAnnotationNamespaceAlias('MyCompany\Annotations\\', 'my');

If the latter one is correct, it should be documented as such.

@doctrinebot

Comment created by @guilhermeblanco:

Already fixed in documentation.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment