Request

Illuminate\Http\Client\Request

class src/Illuminate/Http/Client/Request.php

__construct

v11.0.0 以前から

__construct($request)
@param \Psr\Http\Message\RequestInterface $request
  1. v11.0.0 追加
    変更後
    __construct($request) [@param \Psr\Http\Message\RequestInterface $request, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($request) [@param \Psr\Http\Message\RequestInterface $request, @return void]
    変更後
    __construct($request) [@param \Psr\Http\Message\RequestInterface $request]

attributes

v12.42.0 から

attributes()
@return array<array-key, mixed>
  1. v12.42.0 追加
    変更後
    attributes() [@return array<array-key, mixed>]

body

v11.0.0 以前から

body()
@return string
  1. v11.0.0 追加
    変更後
    body() [@return string]

data

v11.0.0 以前から

data()
@return array
  1. v11.0.0 追加
    変更後
    data() [@return array]

hasFile

v11.0.0 以前から

hasFile($name, $value = null, $filename = null)
@param string $name
@param string|null $value
@param string|null $filename
@return bool
  1. v11.0.0 追加
    変更後
    hasFile($name, $value = null, $filename = null) [@param string $name, @param string|null $value, @param string|null $filename, @return bool]

hasHeader

v11.0.0 以前から

hasHeader($key, $value = null)
@param string $key
@param mixed $value
@return bool
  1. v11.0.0 追加
    変更後
    hasHeader($key, $value = null) [@param string $key, @param mixed $value, @return bool]

hasHeaders

v11.0.0 以前から

hasHeaders($headers)
@param array|string $headers
@return bool
  1. v11.0.0 追加
    変更後
    hasHeaders($headers) [@param array|string $headers, @return bool]

headers

v11.0.0 以前から

headers()
@return array
  1. v11.0.0 追加
    変更後
    headers() [@return array]

isForm

v11.0.0 以前から

isForm()
@return bool
  1. v11.0.0 追加
    変更後
    isForm() [@return bool]

isJson

v11.0.0 以前から

isJson()
@return bool
  1. v11.0.0 追加
    変更後
    isJson() [@return bool]

isMultipart

v11.0.0 以前から

isMultipart()
@return bool
  1. v11.0.0 追加
    変更後
    isMultipart() [@return bool]

method

v11.0.0 以前から

method()
@return string
  1. v11.0.0 追加
    変更後
    method() [@return string]

offsetExists

v11.0.0 以前から

offsetExists($offset): bool
@param string $offset
@return bool
  1. v11.0.0 追加
    変更後
    offsetExists($offset): bool [@param string $offset, @return bool]

offsetGet

v11.0.0 以前から

offsetGet($offset): mixed
@param string $offset
@return mixed
  1. v11.0.0 追加
    変更後
    offsetGet($offset): mixed [@param string $offset, @return mixed]

offsetSet

v11.0.0 以前から

offsetSet($offset, $value): void
@param string $offset
@param mixed $value
@return void
  1. v11.0.0 追加
    変更後
    offsetSet($offset, $value): void [@param string $offset, @param mixed $value, @return void]

offsetUnset

v11.0.0 以前から

offsetUnset($offset): void
@param string $offset
@return void
  1. v11.0.0 追加
    変更後
    offsetUnset($offset): void [@param string $offset, @return void]

setRequestAttributes

v12.42.0 から

setRequestAttributes($attributes)
@param array<array-key, mixed> $attributes
@return $this
  1. v12.42.0 追加
    変更後
    setRequestAttributes($attributes) [@param array<array-key, mixed> $attributes, @return $this]

toPsrRequest

v11.0.0 以前から

toPsrRequest()
@return \Psr\Http\Message\RequestInterface
  1. v11.0.0 追加
    変更後
    toPsrRequest() [@return \Psr\Http\Message\RequestInterface]

uri

v13.12.0 から

uri()
@return \Illuminate\Support\Uri
  1. v13.12.0 追加
    変更後
    uri() [@return \Illuminate\Support\Uri]

url

v11.0.0 以前から

url()
@return string
  1. v11.0.0 追加
    変更後
    url() [@return string]

withData

v11.0.0 以前から

withData(array $data)
@param array $data
@return $this
  1. v11.0.0 追加
    変更後
    withData(array $data) [@param array $data, @return $this]