Skip to content

Commit

Permalink
marked public api
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Jun 9, 2011
1 parent 983ff96 commit 34de105
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion SerializerInterface.php
Expand Up @@ -39,6 +39,7 @@ function serialize($data, $format);
* @param mixed $data
* @param string $type
* @param string $format
* @api
*/
function deserialize($data, $type, $format);

Expand All @@ -58,8 +59,8 @@ function normalize($data, $format = null);
* @param mixed $data
* @param string $type
* @param string $format
*
* @return mixed
* @api
*/
function denormalize($data, $type, $format = null);

Expand Down Expand Up @@ -88,6 +89,7 @@ function decode($data, $format);
*
* @param string $format format name
* @return Boolean
* @api
*/
function supportsSerialization($format);

Expand All @@ -96,6 +98,7 @@ function supportsSerialization($format);
*
* @param string $format format name
* @return Boolean
* @api
*/
function supportsDeserialization($format);

Expand All @@ -104,6 +107,7 @@ function supportsDeserialization($format);
*
* @param string $format format name
* @return Boolean
* @api
*/
function supportsEncoding($format);

Expand All @@ -112,11 +116,15 @@ function supportsEncoding($format);
*
* @param string $format format name
* @return Boolean
* @api
*/
function supportsDecoding($format);

/**
* Get the encoder for the given format
*
* @return EncoderInterface
* @api
*/
function getEncoder($format);
}

0 comments on commit 34de105

Please sign in to comment.