Repository

Illuminate\Log\Context\Repository

class src/Illuminate/Log/Context/Repository.php

__construct

v11.0.0 以前から

__construct(Illuminate\Contracts\Events\Dispatcher $events)
  1. v11.0.0 追加
    変更後
    __construct(Illuminate\Contracts\Events\Dispatcher $events)

add

v11.0.0 以前から

add($key, $value = null)
@param string|array<string, mixed> $key
@param mixed $value
@return $this
  1. v11.0.0 追加
    変更後
    add($key, $value = null) [@param string|array<string, mixed> $key, @param mixed $value, @return $this]

addHidden

v11.0.0 以前から

addHidden($key, $value = null)
@param string|array<string, mixed> $key
@param mixed $value
@return $this
  1. v11.0.0 追加
    変更後
    addHidden($key, $value = null) [@param string|array<string, mixed> $key, @param mixed $value, @return $this]

addHiddenIf

v11.0.0 以前から

addHiddenIf($key, $value)
@param string $key
@param mixed $value
@return $this
  1. v11.0.0 追加
    変更後
    addHiddenIf($key, $value) [@param string $key, @param mixed $value, @return $this]

addIf

v11.0.0 以前から

addIf($key, $value)
@param string $key
@param mixed $value
@return $this
  1. v11.0.0 追加
    変更後
    addIf($key, $value) [@param string $key, @param mixed $value, @return $this]

all

v11.0.0 以前から

all()
@return array<string, mixed>
  1. v11.0.0 追加
    変更後
    all() [@return array<string, mixed>]

allHidden

v11.0.0 以前から

allHidden()
@return array<string, mixed>
  1. v11.0.0 追加
    変更後
    allHidden() [@return array<string, mixed>]

decrement

v12.2.0 から

decrement(string $key, int $amount = 1)
@param string $key
@param int $amount
@return $this
  1. v12.2.0 追加
    変更後
    decrement(string $key, int $amount = 1) [@param string $key, @param int $amount, @return $this]

dehydrating

v11.0.0 以前から

dehydrating($callback)
@param (callable(static): void) $callback
@return $this
  1. v11.0.0 追加
    変更後
    dehydrating($callback) [@param callable $callback, @return $this]
  2. v12.50.0 シグネチャ変更
    変更前
    dehydrating($callback) [@param callable $callback, @return $this]
    変更後
    dehydrating($callback) [@param (callable(static): void) $callback, @return $this]

except

v12.14.0 から

except($keys)
@param array<int, string> $keys
@return array<string, mixed>
  1. v12.14.0 追加
    変更後
    except($keys) [@param array<int, string> $keys, @return array<string, mixed>]

exceptHidden

v12.14.0 から

exceptHidden($keys)
@param array<int, string> $keys
@return array<string, mixed>
  1. v12.14.0 追加
    変更後
    exceptHidden($keys) [@param array<int, string> $keys, @return array<string, mixed>]

flush

v11.0.0 以前から

flush()
@return $this
  1. v11.0.0 追加
    変更後
    flush() [@return $this]

forget

v11.0.0 以前から

forget($key)
@param string|array<int, string> $key
@return $this
  1. v11.0.0 追加
    変更後
    forget($key) [@param string|array<int, string> $key, @return $this]

forgetHidden

v11.0.0 以前から

forgetHidden($key)
@param string|array<int, string> $key
@return $this
  1. v11.0.0 追加
    変更後
    forgetHidden($key) [@param string|array<int, string> $key, @return $this]

get

v11.0.0 以前から

get($key, $default = null)
@param string $key
@param mixed $default
@return mixed
  1. v11.0.0 追加
    変更後
    get($key) [@param string $key, @return mixed]
  2. v11.2.0 シグネチャ変更
    変更前
    get($key) [@param string $key, @return mixed]
    変更後
    get($key, $default = null) [@param string $key, @param mixed $default, @return mixed]

getHidden

v11.0.0 以前から

getHidden($key, $default = null)
@param string $key
@param mixed $default
@return mixed
  1. v11.0.0 追加
    変更後
    getHidden($key) [@param string $key, @return mixed]
  2. v11.2.0 シグネチャ変更
    変更前
    getHidden($key) [@param string $key, @return mixed]
    変更後
    getHidden($key, $default = null) [@param string $key, @param mixed $default, @return mixed]

handleUnserializeExceptionsUsing

v11.0.0 以前から

handleUnserializeExceptionsUsing($callback)
@param callable|null $callback
@return $this
  1. v11.0.0 追加
    変更後
    handleUnserializeExceptionsUsing($callback) [@param callable|null $callback, @return static]
  2. v13.8.0 シグネチャ変更
    変更前
    handleUnserializeExceptionsUsing($callback) [@param callable|null $callback, @return static]
    変更後
    handleUnserializeExceptionsUsing($callback) [@param callable|null $callback, @return $this]

has

v11.0.0 以前から

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

hasHidden

v11.0.0 以前から

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

hiddenStackContains

v11.20.0 から

hiddenStackContains(string $key, mixed $value, bool $strict = false): bool
@param string $key
@param mixed $value
@param bool $strict
@return bool
  1. v11.20.0 追加
    変更後
    hiddenStackContains(string $key, mixed $value, bool $strict = false): bool [@param string $key, @param mixed $value, @param bool $strict, @return bool]

hydrated

v11.0.0 以前から

hydrated($callback)
@param (callable(static): void) $callback
@return $this
  1. v11.0.0 追加
    変更後
    hydrated($callback) [@param callable $callback, @return $this]
  2. v12.50.0 シグネチャ変更
    変更前
    hydrated($callback) [@param callable $callback, @return $this]
    変更後
    hydrated($callback) [@param (callable(static): void) $callback, @return $this]

increment

v12.2.0 から

increment(string $key, int $amount = 1)
@param string $key
@param int $amount
@return $this
  1. v12.2.0 追加
    変更後
    increment(string $key, int $amount = 1) [@param string $key, @param int $amount, @return $this]

isEmpty

v11.0.0 以前から

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

missing

v11.42.0 から

missing($key)
@param string $key
@return bool
  1. v11.42.0 追加
    変更後
    missing($key) [@param string $key, @return bool]

missingHidden

v11.42.0 から

missingHidden($key)
@param string $key
@return bool
  1. v11.42.0 追加
    変更後
    missingHidden($key) [@param string $key, @return bool]

only

v11.0.0 以前から

only($keys)
@param array<int, string> $keys
@return array<string, mixed>
  1. v11.0.0 追加
    変更後
    only($keys) [@param array<int, string> $keys, @return array<string, mixed>]

onlyHidden

v11.0.0 以前から

onlyHidden($keys)
@param array<int, string> $keys
@return array<string, mixed>
  1. v11.0.0 追加
    変更後
    onlyHidden($keys) [@param array<int, string> $keys, @return array<string, mixed>]

pop

v11.31.0 から

pop($key)
@param string $key
@return mixed
  1. v11.31.0 追加
    変更後
    pop($key) [@param string $key, @return mixed]

popHidden

v11.31.0 から

popHidden($key)
@param string $key
@return mixed
  1. v11.31.0 追加
    変更後
    popHidden($key) [@param string $key, @return mixed]

pull

v11.3.0 から

pull($key, $default = null)
@param string $key
@param mixed $default
@return mixed
  1. v11.3.0 追加
    変更後
    pull($key, $default = null) [@param string $key, @param mixed $default, @return mixed]

pullHidden

v11.3.0 から

pullHidden($key, $default = null)
@param string $key
@param mixed $default
@return mixed
  1. v11.3.0 追加
    変更後
    pullHidden($key, $default = null) [@param string $key, @param mixed $default, @return mixed]

push

v11.0.0 以前から

push($key, ...$values)
@param string $key
@param mixed ...$values
@return $this
  1. v11.0.0 追加
    変更後
    push($key, ...$values) [@param string $key, @param mixed ...$values, @return $this]

pushHidden

v11.0.0 以前から

pushHidden($key, ...$values)
@param string $key
@param mixed ...$values
@return $this
  1. v11.0.0 追加
    変更後
    pushHidden($key, ...$values) [@param string $key, @param mixed ...$values, @return $this]

remember

v12.20.0 から

remember($key, $value)
@param string $key
@param mixed $value
@return mixed
  1. v12.20.0 追加
    変更後
    remember($key, $value) [@param string $key, @param mixed $value, @return mixed]

rememberHidden

v12.20.0 から

rememberHidden($key, $value)
@param string $key
@param mixed $value
@return mixed
  1. v12.20.0 追加
    変更後
    rememberHidden($key, $value) [@param string $key, @param mixed $value, @return mixed]

scope

v12.1.0 から

scope(callable $callback, array $data = [], array $hidden = [])
@param (callable(): TReturn) $callback
@param array<string, mixed> $data
@param array<string, mixed> $hidden
@return TReturn
  1. v12.1.0 追加
    変更後
    scope(callable $callback, array $data = [], array $hidden = []) [@param callable $callback, @param array<string, mixed> $data, @param array<string, mixed> $hidden, @return mixed]
  2. v12.42.0 シグネチャ変更
    変更前
    scope(callable $callback, array $data = [], array $hidden = []) [@param callable $callback, @param array<string, mixed> $data, @param array<string, mixed> $hidden, @return mixed]
    変更後
    scope(callable $callback, array $data = [], array $hidden = []) [@param (callable(): TReturn) $callback, @param array<string, mixed> $data, @param array<string, mixed> $hidden, @return TReturn]

stackContains

v11.20.0 から

stackContains(string $key, mixed $value, bool $strict = false): bool
@param string $key
@param mixed $value
@param bool $strict
@return bool
  1. v11.20.0 追加
    変更後
    stackContains(string $key, mixed $value, bool $strict = false): bool [@param string $key, @param mixed $value, @param bool $strict, @return bool]
@internal のメソッド(2)

dehydrate

v11.0.0 以前から

@internal

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

hydrate

v11.0.0 以前から

@internal

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