Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnnotationBuilder::getFormSpecification should accept entity class names #250

Closed
wants to merge 3 commits into from

Conversation

thestanislav
Copy link
Contributor

Doctrine AnnotationBuilder::getFormSpecification should be compatible with Zend AnnotationBuilder::getFormSpecification and should accept Entity class names as parameter.

https://github.com/zendframework/Component_ZendForm/blob/master/Annotation/AnnotationBuilder.php#L178
@param string|object $entity Either an instance or a valid class name for an entity

@Ocramius
Copy link
Member

@thestanislav the newly introduced conditional needs a test case

@Ocramius Ocramius closed this in 8aa0561 Jul 26, 2013
oprokidnev pushed a commit to oprokidnev/DoctrineORMModule that referenced this pull request Apr 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants