miniflux-legacy/vendor/pda/pheanstalk/src/ResponseParser.php

22 lines
522 B
PHP
Raw Normal View History

2016-05-02 04:03:21 +02:00
<?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);
}