blob: c166330eba7b442bfbfde509917e7c3f81051010 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Pheanstalk;
/**
* A parser for response data sent from the beanstalkd server
*
* @author Paul Annesley
* @package Pheanstalk
* @license http://www.opensource.org/licenses/mit-license.php
*/
interface ResponseParser
{
/**
* Parses raw response data into a Response object
* @param string $responseLine Without trailing CRLF
* @param string $responseData (null if no data)
* @return object Response
*/
public function parseResponse($responseLine, $responseData);
}
|