Skip to content

Commit b5a99ab

Browse files
committed
remove api tags from code
1 parent ec95933 commit b5a99ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+0
-188
lines changed

Constraint.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* Constraint instances are immutable and serializable.
2626
*
2727
* @author Bernhard Schussek <[email protected]>
28-
*
29-
* @api
3028
*/
3129
abstract class Constraint
3230
{
@@ -82,8 +80,6 @@ abstract class Constraint
8280
* @throws ConstraintDefinitionException When you don't pass an associative
8381
* array, but getDefaultOption() returns
8482
* null
85-
*
86-
* @api
8783
*/
8884
public function __construct($options = null)
8985
{
@@ -149,8 +145,6 @@ public function __set($option, $value)
149145
* Adds the given group if this constraint is in the Default group.
150146
*
151147
* @param string $group
152-
*
153-
* @api
154148
*/
155149
public function addImplicitGroupName($group)
156150
{
@@ -167,8 +161,6 @@ public function addImplicitGroupName($group)
167161
* @return string
168162
*
169163
* @see __construct()
170-
*
171-
* @api
172164
*/
173165
public function getDefaultOption()
174166
{
@@ -182,8 +174,6 @@ public function getDefaultOption()
182174
* @return array
183175
*
184176
* @see __construct()
185-
*
186-
* @api
187177
*/
188178
public function getRequiredOptions()
189179
{
@@ -198,8 +188,6 @@ public function getRequiredOptions()
198188
* behaviour.
199189
*
200190
* @return string
201-
*
202-
* @api
203191
*/
204192
public function validatedBy()
205193
{
@@ -214,8 +202,6 @@ public function validatedBy()
214202
* Constraint::CLASS_CONSTRAINT and Constraint::PROPERTY_CONSTRAINT.
215203
*
216204
* @return string|array One or more constant values
217-
*
218-
* @api
219205
*/
220206
public function getTargets()
221207
{

ConstraintValidator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* Base class for constraint validators.
1616
*
1717
* @author Bernhard Schussek <[email protected]>
18-
*
19-
* @api
2018
*/
2119
abstract class ConstraintValidator implements ConstraintValidatorInterface
2220
{

ConstraintValidatorInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* @author Bernhard Schussek <[email protected]>
16-
*
17-
* @api
1816
*/
1917
interface ConstraintValidatorInterface
2018
{
@@ -30,8 +28,6 @@ public function initialize(ExecutionContextInterface $context);
3028
*
3129
* @param mixed $value The value that should be validated
3230
* @param Constraint $constraint The constraint for the validation
33-
*
34-
* @api
3531
*/
3632
public function validate($value, Constraint $constraint);
3733
}

ConstraintViolationInterface.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,13 @@
3232
* element is still the person, but the property path is "address.street".
3333
*
3434
* @author Bernhard Schussek <[email protected]>
35-
*
36-
* @api
3735
*/
3836
interface ConstraintViolationInterface
3937
{
4038
/**
4139
* Returns the violation message.
4240
*
4341
* @return string The violation message.
44-
*
45-
* @api
4642
*/
4743
public function getMessage();
4844

@@ -54,8 +50,6 @@ public function getMessage();
5450
* message template and parameters to a translation engine.
5551
*
5652
* @return string The raw violation message.
57-
*
58-
* @api
5953
*/
6054
public function getMessageTemplate();
6155

@@ -66,8 +60,6 @@ public function getMessageTemplate();
6660
* that appear in the message template.
6761
*
6862
* @see getMessageTemplate()
69-
*
70-
* @api
7163
*/
7264
public function getMessageParameters();
7365

@@ -96,8 +88,6 @@ public function getMessagePluralization();
9688
* the validation was started. Because the validator traverses
9789
* the object graph, the value at which the violation occurs
9890
* is not necessarily the value that was originally validated.
99-
*
100-
* @api
10191
*/
10292
public function getRoot();
10393

@@ -112,8 +102,6 @@ public function getRoot();
112102
* path is "address.street". Property access is denoted by
113103
* dots, while array access is denoted by square brackets,
114104
* for example "addresses[1].street".
115-
*
116-
* @api
117105
*/
118106
public function getPropertyPath();
119107

@@ -122,8 +110,6 @@ public function getPropertyPath();
122110
*
123111
* @return mixed The invalid value that caused the validated constraint to
124112
* fail.
125-
*
126-
* @api
127113
*/
128114
public function getInvalidValue();
129115

ConstraintViolationListInterface.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,20 @@
1515
* A list of constraint violations.
1616
*
1717
* @author Bernhard Schussek <[email protected]>
18-
*
19-
* @api
2018
*/
2119
interface ConstraintViolationListInterface extends \Traversable, \Countable, \ArrayAccess
2220
{
2321
/**
2422
* Adds a constraint violation to this list.
2523
*
2624
* @param ConstraintViolationInterface $violation The violation to add.
27-
*
28-
* @api
2925
*/
3026
public function add(ConstraintViolationInterface $violation);
3127

3228
/**
3329
* Merges an existing violation list into this list.
3430
*
3531
* @param ConstraintViolationListInterface $otherList The list to merge.
36-
*
37-
* @api
3832
*/
3933
public function addAll(ConstraintViolationListInterface $otherList);
4034

@@ -46,8 +40,6 @@ public function addAll(ConstraintViolationListInterface $otherList);
4640
* @return ConstraintViolationInterface The violation.
4741
*
4842
* @throws \OutOfBoundsException If the offset does not exist.
49-
*
50-
* @api
5143
*/
5244
public function get($offset);
5345

@@ -57,8 +49,6 @@ public function get($offset);
5749
* @param int $offset The violation offset.
5850
*
5951
* @return bool Whether the offset exists.
60-
*
61-
* @api
6252
*/
6353
public function has($offset);
6454

@@ -67,17 +57,13 @@ public function has($offset);
6757
*
6858
* @param int $offset The violation offset.
6959
* @param ConstraintViolationInterface $violation The violation.
70-
*
71-
* @api
7260
*/
7361
public function set($offset, ConstraintViolationInterface $violation);
7462

7563
/**
7664
* Removes a violation at a given offset.
7765
*
7866
* @param int $offset The offset to remove.
79-
*
80-
* @api
8167
*/
8268
public function remove($offset);
8369
}

Constraints/All.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
2020
*
2121
* @author Bernhard Schussek <[email protected]>
22-
*
23-
* @api
2422
*/
2523
class All extends Constraint
2624
{

Constraints/AllValidator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
/**
1919
* @author Bernhard Schussek <[email protected]>
20-
*
21-
* @api
2220
*/
2321
class AllValidator extends ConstraintValidator
2422
{

Constraints/Blank.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
1919
*
2020
* @author Bernhard Schussek <[email protected]>
21-
*
22-
* @api
2321
*/
2422
class Blank extends Constraint
2523
{

Constraints/BlankValidator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
/**
1818
* @author Bernhard Schussek <[email protected]>
19-
*
20-
* @api
2119
*/
2220
class BlankValidator extends ConstraintValidator
2321
{

Constraints/Callback.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* @Target({"CLASS", "ANNOTATION"})
1919
*
2020
* @author Bernhard Schussek <[email protected]>
21-
*
22-
* @api
2321
*/
2422
class Callback extends Constraint
2523
{

0 commit comments

Comments
 (0)