for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JDesrosiers\Silex\Provider\ContentNegotiation;
/**
* This interface defines helper methods for automatically serializing responses and deserializing requests.
*/
interface ContentNegotiation
{
* Serialize the response in an acceptable format.
function createResponse($responseObject, $status = 200, array $headers = array());
* Deserialize the request body.
function deserializeRequest($class);
}