Вход Регистрация
Файл: vkolhoze.com/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php
Строк: 44
<?php

namespace GuzzlePluginErrorResponse;

use 
GuzzleServiceCommandCommandInterface;
use 
GuzzleHttpMessageResponse;

/**
 * Interface used to create an exception from an error response
 */
interface ErrorResponseExceptionInterface
{
    
/**
     * Create an exception for a command based on a command and an error response definition
     *
     * @param CommandInterface $command  Command that was sent
     * @param Response         $response The error response
     *
     * @return self
     */
    
public static function fromCommand(CommandInterface $commandResponse $response);
}
Онлайн: 0
Реклама