1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23:
<?php
/**
* @author stev leibelt <artodeto@bazzline.net>
* @since 2015-12-08
*/
namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
use Exception;
use Net\Bazzline\Component\Curl\Response\Response;
interface ResponseBehaviourInterface
{
/**
* Since the Response is immutable, each behaviour has to return a new
* Response instance
*
* @param Response $response
* @return Response
* @throws Exception
*/
public function behave(Response $response);
}