Вход Регистрация
Файл: vkolhoze.com/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFieldVisitor.php
Строк: 16
<?php

namespace GuzzleServiceCommandLocationVisitorRequest;

use 
GuzzleHttpMessageRequestInterface;
use 
GuzzleServiceCommandCommandInterface;
use 
GuzzleServiceDescriptionParameter;

/**
 * Visitor used to apply a parameter to a POST field
 */
class PostFieldVisitor extends AbstractRequestVisitor
{
    public function 
visit(CommandInterface $commandRequestInterface $requestParameter $param$value)
    {
        
$request->setPostField($param->getWireName(), $this->prepareValue($value$param));
    }
}
Онлайн: 0
Реклама