1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 10:49:37 +02:00
ampache/modules/Guzzle/Service/Command/ResponseParserInterface.php

18 lines
491 B
PHP

<?php
namespace Guzzle\Service\Command;
/**
* Parses the HTTP response of a command and sets the appropriate result on a command object
*/
interface ResponseParserInterface
{
/**
* Parse the HTTP response received by the command and update the command's result contents
*
* @param CommandInterface $command Command to parse and update
*
* @return mixed Returns the result to set on the command
*/
public function parse(CommandInterface $command);
}