Skip to content

Commit 6773cd7

Browse files
committed
[Serializer] removed @api since its not yet part of the stable API
1 parent 950ab13 commit 6773cd7

File tree

5 files changed

+0
-18
lines changed

5 files changed

+0
-18
lines changed

src/Symfony/Component/Serializer/Encoder/DecoderInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ interface DecoderInterface
2626
* @param string $data data to decode
2727
* @param string $format format to decode from
2828
* @return mixed
29-
* @api
3029
*/
3130
function decode($data, $format);
3231
}

src/Symfony/Component/Serializer/Encoder/EncoderInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ interface EncoderInterface
2626
* @param mixed $data data to encode
2727
* @param string $format format to encode to
2828
* @return string
29-
* @api
3029
*/
3130
function encode($data, $format);
3231
}

src/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ interface NormalizerInterface
2626
* @param object $object object to normalize
2727
* @param string $format format the normalization result will be encoded as
2828
* @return array|scalar
29-
* @api
3029
*/
3130
function normalize($object, $format = null);
3231

@@ -37,7 +36,6 @@ function normalize($object, $format = null);
3736
* @param string $class the expected class to instantiate
3837
* @param string $format format the given data was extracted from
3938
* @return object
40-
* @api
4139
*/
4240
function denormalize($data, $class, $format = null);
4341

@@ -47,7 +45,6 @@ function denormalize($data, $class, $format = null);
4745
* @param mixed $data Data to normalize.
4846
* @param string $format The format being (de-)serialized from or into.
4947
* @return Boolean
50-
* @api
5148
*/
5249
function supportsNormalization($data, $format = null);
5350

@@ -58,7 +55,6 @@ function supportsNormalization($data, $format = null);
5855
* @param string $type The class to which the data should be denormalized.
5956
* @param string $format The format being deserialized from.
6057
* @return Boolean
61-
* @api
6258
*/
6359
function supportsDenormalization($data, $type, $format = null);
6460
}

src/Symfony/Component/Serializer/SerializerAwareInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ interface SerializerAwareInterface
2424
* Sets the owning Serializer object
2525
*
2626
* @param SerializerInterface $serializer
27-
* @api
2827
*/
2928
function setSerializer(SerializerInterface $serializer);
3029
}

src/Symfony/Component/Serializer/SerializerInterface.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ interface SerializerInterface
2929
* @param mixed $data any data
3030
* @param string $format format name
3131
* @return string
32-
* @api
3332
*/
3433
function serialize($data, $format);
3534

@@ -39,7 +38,6 @@ function serialize($data, $format);
3938
* @param mixed $data
4039
* @param string $type
4140
* @param string $format
42-
* @api
4341
*/
4442
function deserialize($data, $type, $format);
4543

@@ -49,7 +47,6 @@ function deserialize($data, $type, $format);
4947
* @param mixed $data data to normalize
5048
* @param string $format format name, present to give the option to normalizers to act differently based on formats
5149
* @return array|scalar
52-
* @api
5350
*/
5451
function normalize($data, $format = null);
5552

@@ -60,7 +57,6 @@ function normalize($data, $format = null);
6057
* @param string $type
6158
* @param string $format
6259
* @return mixed
63-
* @api
6460
*/
6561
function denormalize($data, $type, $format = null);
6662

@@ -70,7 +66,6 @@ function denormalize($data, $type, $format = null);
7066
* @param mixed $data data to encode
7167
* @param string $format format name
7268
* @return array|scalar
73-
* @api
7469
*/
7570
function encode($data, $format);
7671

@@ -80,7 +75,6 @@ function encode($data, $format);
8075
* @param string $data data to decode
8176
* @param string $format format name
8277
* @return mixed
83-
* @api
8478
*/
8579
function decode($data, $format);
8680

@@ -89,7 +83,6 @@ function decode($data, $format);
8983
*
9084
* @param string $format format name
9185
* @return Boolean
92-
* @api
9386
*/
9487
function supportsSerialization($format);
9588

@@ -98,7 +91,6 @@ function supportsSerialization($format);
9891
*
9992
* @param string $format format name
10093
* @return Boolean
101-
* @api
10294
*/
10395
function supportsDeserialization($format);
10496

@@ -107,7 +99,6 @@ function supportsDeserialization($format);
10799
*
108100
* @param string $format format name
109101
* @return Boolean
110-
* @api
111102
*/
112103
function supportsEncoding($format);
113104

@@ -116,15 +107,13 @@ function supportsEncoding($format);
116107
*
117108
* @param string $format format name
118109
* @return Boolean
119-
* @api
120110
*/
121111
function supportsDecoding($format);
122112

123113
/**
124114
* Get the encoder for the given format
125115
*
126116
* @return EncoderInterface
127-
* @api
128117
*/
129118
function getEncoder($format);
130119
}

0 commit comments

Comments
 (0)