1: <?php
2:
3: namespace Racoon\Api\Response\Format;
4:
5:
6: use Racoon\Api\Exception\ResponseFormattingException;
7:
8: interface FormatterInterface
9: {
10:
11: /**
12: * @param $response
13: * @return string
14: * @throws ResponseFormattingException
15: */
16: public function format($response);
17:
18:
19: /**
20: * @return null|string
21: */
22: public function getContentType();
23:
24: }