Request
Illuminate\Http\Client\Request
class src/Illuminate/Http/Client/Request.php
__construct
v11.0.0 以前から
__construct($request)
@param \Psr\Http\Message\RequestInterface $request
attributes
v12.42.0 から
attributes()
@return array<array-key, mixed>
-
v12.42.0
追加
- 変更後
attributes() [@return array<array-key, mixed>]
body
v11.0.0 以前から
body()
@return string
-
v11.0.0
追加
- 変更後
body() [@return string]
data
v11.0.0 以前から
data()
@return array
-
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
-
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
-
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
-
v11.0.0
追加
- 変更後
hasHeaders($headers) [@param array|string $headers, @return bool]
header
v11.0.0 以前から
header($key)
@param string $key
@return array
-
v11.0.0
追加
- 変更後
header($key) [@param string $key, @return array]
headers
v11.0.0 以前から
headers()
@return array
-
v11.0.0
追加
- 変更後
headers() [@return array]
isForm
v11.0.0 以前から
isForm()
@return bool
-
v11.0.0
追加
- 変更後
isForm() [@return bool]
isJson
v11.0.0 以前から
isJson()
@return bool
-
v11.0.0
追加
- 変更後
isJson() [@return bool]
isMultipart
v11.0.0 以前から
isMultipart()
@return bool
-
v11.0.0
追加
- 変更後
isMultipart() [@return bool]
method
v11.0.0 以前から
method()
@return string
-
v11.0.0
追加
- 変更後
method() [@return string]
offsetExists
v11.0.0 以前から
offsetExists($offset): bool
@param string $offset
@return bool
-
v11.0.0
追加
- 変更後
offsetExists($offset): bool [@param string $offset, @return bool]
offsetGet
v11.0.0 以前から
offsetGet($offset): mixed
@param string $offset
@return mixed
-
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
-
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
-
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
-
v12.42.0
追加
- 変更後
setRequestAttributes($attributes) [@param array<array-key, mixed> $attributes, @return $this]
toPsrRequest
v11.0.0 以前から
toPsrRequest()
@return \Psr\Http\Message\RequestInterface
-
v11.0.0
追加
- 変更後
toPsrRequest() [@return \Psr\Http\Message\RequestInterface]
uri
v13.12.0 から
uri()
@return \Illuminate\Support\Uri
-
v13.12.0
追加
- 変更後
uri() [@return \Illuminate\Support\Uri]
url
v11.0.0 以前から
url()
@return string
-
v11.0.0
追加
- 変更後
url() [@return string]
withData
v11.0.0 以前から
withData(array $data)
@param array $data
@return $this
-
v11.0.0
追加
- 変更後
withData(array $data) [@param array $data, @return $this]