Browse Source

marked public api

Lukas Kahwe Smith 14 years ago
parent
commit
8ef83d548b
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/Symfony/Component/Serializer/SerializerInterface.php

+ 9 - 1
src/Symfony/Component/Serializer/SerializerInterface.php

@@ -39,6 +39,7 @@ interface SerializerInterface
      * @param mixed $data
      * @param string $type
      * @param string $format
+     * @api
      */
     function deserialize($data, $type, $format);
 
@@ -58,8 +59,8 @@ interface SerializerInterface
      * @param mixed $data
      * @param string $type
      * @param string $format
-     *
      * @return mixed
+     * @api
      */
     function denormalize($data, $type, $format = null);
 
@@ -88,6 +89,7 @@ interface SerializerInterface
      *
      * @param string $format format name
      * @return Boolean
+     * @api
      */
     function supportsSerialization($format);
 
@@ -96,6 +98,7 @@ interface SerializerInterface
      *
      * @param string $format format name
      * @return Boolean
+     * @api
      */
     function supportsDeserialization($format);
 
@@ -104,6 +107,7 @@ interface SerializerInterface
      *
      * @param string $format format name
      * @return Boolean
+     * @api
      */
     function supportsEncoding($format);
 
@@ -112,11 +116,15 @@ interface SerializerInterface
      *
      * @param string $format format name
      * @return Boolean
+     * @api
      */
     function supportsDecoding($format);
 
     /**
+     * Get the encoder for the given format
+     * 
      * @return EncoderInterface
+     * @api
      */
     function getEncoder($format);
 }