at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?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);
|
||||
}
|
||||
Reference in New Issue
Block a user