Files
socialhose-php/src/ApiBundle/Response/ViewInterface.php
T
2022-12-09 08:36:26 -06:00

24 lines
493 B
PHP

<?php
namespace ApiBundle\Response;
use AppBundle\HttpFoundation\AppResponse;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
/**
* Interface ViewInterface
* @package ApiBundle\Response
*/
interface ViewInterface
{
/**
* Serialize this response into proper response.
*
* @param NormalizerInterface $normalizer A NormalizerInterface instance.
*
* @return AppResponse
*/
public function serialize(NormalizerInterface $normalizer);
}