Skip to content

[reference][constraints] Adding documentation for the Isbn validation. #2528

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

Merged
merged 4 commits into from
May 3, 2013

Conversation

aitboudad
Copy link
Contributor

Q A
Doc fix? yes
New docs? yes (symfony/symfony#6718)
Applies to master
Fixed tickets #2525


// src/Acme/DemoBundle/Entity/AcmeEntity.php
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints\Isbn;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the same use statement as in the php-annotations example (Symfony\Component\Validator\Constraints as Assert)

@aitboudad
Copy link
Contributor Author

@wouterj This validator will be implemented in 2.3 or not ??

@wouterj
Copy link
Member

wouterj commented Apr 22, 2013

yes, it's merged into 2.3

@weaverryan weaverryan merged commit 9855c3a into symfony:master May 3, 2013
@weaverryan
Copy link
Member

Nice work Abdellatif!

I've merged this in with some minor changes at sha: 4ec619a (I rearranged a few sections, so the changes look much bigger than they are). Thanks so much for taking the time to document this new feature!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants