Response
Illuminate\Http\Client\Response
class src/Illuminate/Http/Client/Response.php
__call
v11.0.0 以前から
__call($method, $parameters)
@param string $method
@param array $parameters
@return mixed
-
v11.0.0
追加
- 変更後
__call($method, $parameters) [@param string $method, @param array $parameters, @return mixed]
__construct
v11.0.0 以前から
__construct($response)
@param \Psr\Http\Message\MessageInterface $response
__toString
v11.0.0 以前から
__toString()
@return string
-
v11.0.0
追加
- 変更後
__toString() [@return string]
body
v11.0.0 以前から
body()
@return string
-
v11.0.0
追加
- 変更後
body() [@return string]
clientError
v11.0.0 以前から
clientError()
@return bool
-
v11.0.0
追加
- 変更後
clientError() [@return bool]
close
v11.0.0 以前から
close()
@return $this
-
v11.0.0
追加
- 変更後
close() [@return $this]
collect
v11.0.0 以前から
collect($key = null, $flags = null)
@param string|null $key
@param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags
@return \Illuminate\Support\Collection
-
v11.0.0
追加
- 変更後
collect($key = null) [@param string|null $key, @return \Illuminate\Support\Collection]
-
v12.48.0
シグネチャ変更
- 変更前
collect($key = null) [@param string|null $key, @return \Illuminate\Support\Collection]- 変更後
collect($key = null, $flags = null) [@param string|null $key, @param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags, @return \Illuminate\Support\Collection]
cookies
v11.0.0 以前から
cookies()
@return \GuzzleHttp\Cookie\CookieJar
-
v11.0.0
追加
- 変更後
cookies() [@return \GuzzleHttp\Cookie\CookieJar]
dd
v11.40.0 から
dd($key = null)
@param string|null $key
@return never
-
v11.40.0
追加
- 変更後
dd($key = null) [@param string|null $key, @return never]
ddHeaders
v11.40.0 から
ddHeaders()
@return never
-
v11.40.0
追加
- 変更後
ddHeaders() [@return never]
dontTruncateExceptions
v12.18.0 から
dontTruncateExceptions()
@return $this
-
v12.18.0
追加
- 変更後
dontTruncateExceptions() [@return $this]
dump
v11.40.0 から
dump($key = null)
@param string|null $key
@return $this
-
v11.40.0
追加
- 変更後
dump($key = null) [@param string|null $key, @return $this]
dumpHeaders
v11.40.0 から
dumpHeaders()
@return $this
-
v11.40.0
追加
- 変更後
dumpHeaders() [@return $this]
effectiveUri
v11.0.0 以前から
effectiveUri()
@return \Psr\Http\Message\UriInterface|null
-
v11.0.0
追加
- 変更後
effectiveUri() [@return \Psr\Http\Message\UriInterface|null]
failed
v11.0.0 以前から
failed()
@return bool
-
v11.0.0
追加
- 変更後
failed() [@return bool]
fluent
v11.35.0 から
fluent($key = null, $flags = null)
@param string|null $key
@param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags
@return \Illuminate\Support\Fluent
-
v11.35.0
追加
- 変更後
fluent($key = null) [@param string|null $key, @return \Illuminate\Support\Fluent]
-
v12.48.0
シグネチャ変更
- 変更前
fluent($key = null) [@param string|null $key, @return \Illuminate\Support\Fluent]- 変更後
fluent($key = null, $flags = null) [@param string|null $key, @param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags, @return \Illuminate\Support\Fluent]
flushState
v12.48.0 から
static
static flushState(): void
-
v12.48.0
追加
- 変更後
static flushState(): void
handlerStats
v11.0.0 以前から
handlerStats()
@return array
-
v11.0.0
追加
- 変更後
handlerStats() [@return array]
header
v11.0.0 以前から
header(string $header)
@param string $header
@return string
-
v11.0.0
追加
- 変更後
header(string $header) [@param string $header, @return string]
headers
v11.0.0 以前から
headers()
@return array
-
v11.0.0
追加
- 変更後
headers() [@return array]
json
v11.0.0 以前から
json($key = null, $default = null, $flags = null)
@param string|null $key
@param mixed $default
@param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags
@return mixed
-
v11.0.0
追加
- 変更後
json($key = null, $default = null) [@param string|null $key, @param mixed $default, @return mixed]
-
v12.48.0
シグネチャ変更
- 変更前
json($key = null, $default = null) [@param string|null $key, @param mixed $default, @return mixed]- 変更後
json($key = null, $default = null, $flags = null) [@param string|null $key, @param mixed $default, @param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags, @return mixed]
object
v11.0.0 以前から
object($flags = null)
@param int-mask<JSON_BIGINT_AS_STRING, JSON_INVALID_UTF8_IGNORE, JSON_INVALID_UTF8_SUBSTITUTE, JSON_OBJECT_AS_ARRAY, JSON_THROW_ON_ERROR>|null $flags
@return object|null
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]
onError
v11.0.0 以前から
onError(callable $callback)
@param callable|(\Closure(\Illuminate\Http\Client\Response): mixed) $callback
@return $this
-
v11.0.0
追加
- 変更後
onError(callable $callback) [@param callable $callback, @return $this]
-
v12.14.0
シグネチャ変更
- 変更前
onError(callable $callback) [@param callable $callback, @return $this]- 変更後
onError(callable $callback) [@param callable|(\Closure(\Illuminate\Http\Client\Response): mixed) $callback, @return $this]
reason
v11.0.0 以前から
reason()
@return string
-
v11.0.0
追加
- 変更後
reason() [@return string]
redirect
v11.0.0 以前から
redirect()
@return bool
-
v11.0.0
追加
- 変更後
redirect() [@return bool]
resource
v11.21.0 から
resource()
@return resource
-
v11.21.0
追加
- 変更後
resource() [@return resource]
serverError
v11.0.0 以前から
serverError()
@return bool
-
v11.0.0
追加
- 変更後
serverError() [@return bool]
status
v11.0.0 以前から
status()
@return int
-
v11.0.0
追加
- 変更後
status() [@return int]
successful
v11.0.0 以前から
successful()
@return bool
-
v11.0.0
追加
- 変更後
successful() [@return bool]
throw
v11.0.0 以前から
throw($callback = null)
@param null|(\Closure(\Illuminate\Http\Client\Response, \Illuminate\Http\Client\RequestException): mixed) $callback
@return $this
throwIf
v11.0.0 以前から
throwIf($condition, $callback = null)
@param \Closure|bool $condition
@param null|(\Closure(\Illuminate\Http\Client\Response, \Illuminate\Http\Client\RequestException): mixed) $callback
@return $this
-
v11.0.0
追加
- 変更後
throwIf($condition) [@param \Closure|bool $condition, @return $this]
-
v13.0.0
シグネチャ変更
- 変更前
throwIf($condition) [@param \Closure|bool $condition, @return $this]- 変更後
throwIf($condition, $callback = null) [@param \Closure|bool $condition, @param null|(\Closure(\Illuminate\Http\Client\Response, \Illuminate\Http\Client\RequestException): mixed) $callback, @return $this]
throwIfClientError
v11.0.0 以前から
throwIfClientError()
@return $this
-
v11.0.0
追加
- 変更後
throwIfClientError() [@return $this]
throwIfServerError
v11.0.0 以前から
throwIfServerError()
@return $this
-
v11.0.0
追加
- 変更後
throwIfServerError() [@return $this]
throwIfStatus
v11.0.0 以前から
throwIfStatus($statusCode)
@param int|(\Closure(int, \Illuminate\Http\Client\Response): bool)|callable $statusCode
@return $this
-
v11.0.0
追加
- 変更後
throwIfStatus($statusCode) [@param callable|int $statusCode, @return $this]
-
v12.14.0
シグネチャ変更
- 変更前
throwIfStatus($statusCode) [@param callable|int $statusCode, @return $this]- 変更後
throwIfStatus($statusCode) [@param int|(\Closure(int, \Illuminate\Http\Client\Response): bool)|callable $statusCode, @return $this]
throwUnless
v12.41.0 から
throwUnless($condition)
@param \Closure|bool $condition
@return $this
-
v12.41.0
追加
- 変更後
throwUnless($condition) [@param \Closure|bool $condition, @return $this]
throwUnlessStatus
v11.0.0 以前から
throwUnlessStatus($statusCode)
@param int|(\Closure(int, \Illuminate\Http\Client\Response): bool)|callable $statusCode
@return $this
-
v11.0.0
追加
- 変更後
throwUnlessStatus($statusCode) [@param callable|int $statusCode, @return $this]
-
v12.14.0
シグネチャ変更
- 変更前
throwUnlessStatus($statusCode) [@param callable|int $statusCode, @return $this]- 変更後
throwUnlessStatus($statusCode) [@param int|(\Closure(int, \Illuminate\Http\Client\Response): bool)|callable $statusCode, @return $this]
toException
v11.0.0 以前から
toException()
@return \Illuminate\Http\Client\RequestException|null
-
v11.0.0
追加
- 変更後
toException() [@return \Illuminate\Http\Client\RequestException|null]
toPsrResponse
v11.0.0 以前から
toPsrResponse()
@return \Psr\Http\Message\ResponseInterface
-
v11.0.0
追加
- 変更後
toPsrResponse() [@return \Psr\Http\Message\ResponseInterface]
truncateExceptionsAt
v12.18.0 から
truncateExceptionsAt(int $length)
@param int<1, max> $length
@return $this
-
v12.18.0
追加
- 変更後
truncateExceptionsAt(int $length) [@param int<1, max> $length, @return $this]