Просмотр файла sdark.mobi/vendor/guzzle/guzzle/src/Guzzle/Service/Command/ResponseClassInterface.php

Размер файла: 443B
<?php

namespace Guzzle\Service\Command;

/**
 * Interface used to accept a completed OperationCommand and parse the result into a specific response type
 */
interface ResponseClassInterface
{
    /**
     * Create a response model object from a completed command
     *
     * @param OperationCommand $command That serialized the request
     *
     * @return self
     */
    public static function fromCommand(OperationCommand $command);
}