Permalink
Browse files

added @target annotations

  • Loading branch information...
fabpot committed Apr 23, 2014
1 parent 5947eec commit 542d6fa5804603ab7f8b5bf019bc9634d9e5f614
Showing with 51 additions and 1 deletion.
  1. +2 −0 src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php
  2. +1 −0 src/Symfony/Component/Routing/Annotation/Route.php
  3. +1 −0 src/Symfony/Component/Security/Core/Validator/Constraints/UserPassword.php
  4. +1 −0 src/Symfony/Component/Validator/Constraints/All.php
  5. +1 −0 src/Symfony/Component/Validator/Constraints/Blank.php
  6. +1 −0 src/Symfony/Component/Validator/Constraints/Callback.php
  7. +1 −0 src/Symfony/Component/Validator/Constraints/CardScheme.php
  8. +1 −0 src/Symfony/Component/Validator/Constraints/Choice.php
  9. +1 −0 src/Symfony/Component/Validator/Constraints/Collection.php
  10. +1 −0 src/Symfony/Component/Validator/Constraints/Collection/Optional.php
  11. +1 −0 src/Symfony/Component/Validator/Constraints/Collection/Required.php
  12. +1 −0 src/Symfony/Component/Validator/Constraints/Count.php
  13. +1 −0 src/Symfony/Component/Validator/Constraints/Country.php
  14. +1 −0 src/Symfony/Component/Validator/Constraints/Currency.php
  15. +1 −0 src/Symfony/Component/Validator/Constraints/Date.php
  16. +1 −0 src/Symfony/Component/Validator/Constraints/DateTime.php
  17. +1 −0 src/Symfony/Component/Validator/Constraints/Email.php
  18. +1 −0 src/Symfony/Component/Validator/Constraints/EqualTo.php
  19. +1 −0 src/Symfony/Component/Validator/Constraints/False.php
  20. +1 −0 src/Symfony/Component/Validator/Constraints/File.php
  21. +1 −0 src/Symfony/Component/Validator/Constraints/GreaterThan.php
  22. +1 −0 src/Symfony/Component/Validator/Constraints/GreaterThanOrEqual.php
  23. +1 −0 src/Symfony/Component/Validator/Constraints/GroupSequence.php
  24. +1 −1 src/Symfony/Component/Validator/Constraints/GroupSequenceProvider.php
  25. +1 −0 src/Symfony/Component/Validator/Constraints/Iban.php
  26. +1 −0 src/Symfony/Component/Validator/Constraints/IdenticalTo.php
  27. +1 −0 src/Symfony/Component/Validator/Constraints/Image.php
  28. +1 −0 src/Symfony/Component/Validator/Constraints/Ip.php
  29. +1 −0 src/Symfony/Component/Validator/Constraints/Isbn.php
  30. +1 −0 src/Symfony/Component/Validator/Constraints/Issn.php
  31. +1 −0 src/Symfony/Component/Validator/Constraints/Language.php
  32. +1 −0 src/Symfony/Component/Validator/Constraints/Length.php
  33. +1 −0 src/Symfony/Component/Validator/Constraints/LessThan.php
  34. +1 −0 src/Symfony/Component/Validator/Constraints/LessThanOrEqual.php
  35. +1 −0 src/Symfony/Component/Validator/Constraints/Locale.php
  36. +1 −0 src/Symfony/Component/Validator/Constraints/Luhn.php
  37. +1 −0 src/Symfony/Component/Validator/Constraints/NotBlank.php
  38. +1 −0 src/Symfony/Component/Validator/Constraints/NotEqualTo.php
  39. +1 −0 src/Symfony/Component/Validator/Constraints/NotIdenticalTo.php
  40. +1 −0 src/Symfony/Component/Validator/Constraints/NotNull.php
  41. +1 −0 src/Symfony/Component/Validator/Constraints/Null.php
  42. +1 −0 src/Symfony/Component/Validator/Constraints/Optional.php
  43. +1 −0 src/Symfony/Component/Validator/Constraints/Range.php
  44. +1 −0 src/Symfony/Component/Validator/Constraints/Regex.php
  45. +1 −0 src/Symfony/Component/Validator/Constraints/Required.php
  46. +1 −0 src/Symfony/Component/Validator/Constraints/Time.php
  47. +1 −0 src/Symfony/Component/Validator/Constraints/True.php
  48. +1 −0 src/Symfony/Component/Validator/Constraints/Type.php
  49. +1 −0 src/Symfony/Component/Validator/Constraints/Url.php
  50. +1 −0 src/Symfony/Component/Validator/Constraints/Valid.php
@@ -17,6 +17,8 @@
* Constraint for the Unique Entity validator
*
* @Annotation
* @Target("CLASS")
*
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
class UniqueEntity extends Constraint
@@ -15,6 +15,7 @@
* Annotation class for @Route().
*
* @Annotation
* @Target({"CLASS", "METHOD"})
*
* @author Fabien Potencier <fabien@symfony.com>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*/
class UserPassword extends Constraint
{
@@ -16,6 +16,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target("CLASS")
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -17,6 +17,7 @@
* Metadata for the CardSchemeValidator.
*
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*/
class CardScheme extends Constraint
{
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -16,6 +16,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -16,6 +16,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Miha Vrhovnik <miha.vrhovnik@pagein.si>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -15,6 +15,7 @@
* Annotation for group sequences
*
* @Annotation
* @Target("CLASS")
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,8 +15,8 @@
* Annotation to define a group sequence provider
*
* @Annotation
* @Target("CLASS")
*/
class GroupSequenceProvider
{
}
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*/
class Iban extends Constraint
{
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @api
*/
@@ -18,6 +18,7 @@
* Validates that a value is a valid IP address
*
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
* @author Joseph Bielawski <stloyd@gmail.com>
@@ -16,6 +16,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author The Whole Life To Learn <thewholelifetolearn@gmail.com>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Antonio J. García Lagar <aj@garcialagar.es>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -16,6 +16,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -17,6 +17,7 @@
* Metadata for the LuhnValidator.
*
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*/
class Luhn extends Constraint
{
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Daniel Holmes <daniel@danielholmes.org>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
@@ -16,6 +16,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -13,6 +13,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
@@ -15,6 +15,7 @@
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
Oops, something went wrong.

2 comments on commit 542d6fa

@staabm

This comment has been minimized.

Show comment
Hide comment
@staabm

staabm Apr 24, 2014

Contributor

this information is very usefull, thanks for it! will it also be visibile in the api reference docs?

Contributor

staabm replied Apr 24, 2014

this information is very usefull, thanks for it! will it also be visibile in the api reference docs?

@jakzal

This comment has been minimized.

Show comment
Hide comment
@jakzal

jakzal Apr 24, 2014

Member

@staabm this is already documented in the reference docs (see applies to section).

Member

jakzal replied Apr 24, 2014

@staabm this is already documented in the reference docs (see applies to section).

Please sign in to comment.