Repository

Illuminate\Config\Repository

class src/Illuminate/Config/Repository.php

__construct

v11.0.0 以前から

__construct(array $items = [])
@param array $items
  1. v11.0.0 追加
    変更後
    __construct(array $items = []) [@param array $items, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(array $items = []) [@param array $items, @return void]
    変更後
    __construct(array $items = []) [@param array $items]

all

v11.0.0 以前から

all()
@return array<string, mixed>
  1. v11.0.0 追加
    変更後
    all() [@return array]
  2. v13.18.0 シグネチャ変更
    変更前
    all() [@return array]
    変更後
    all() [@return array<string, mixed>]

array

v11.0.0 以前から

array(string $key, $default = null): array
@param string $key
@param (\Closure():(array<array-key, mixed>|null))|array<array-key, mixed>|null $default
@return array<array-key, mixed>
  1. v11.0.0 追加
    変更後
    array(string $key, $default = null): array [@param string $key, @param (\Closure():(array<array-key, mixed>|null))|array<array-key, mixed>|null $default, @return array<array-key, mixed>]

boolean

v11.0.0 以前から

boolean(string $key, $default = null): bool
@param string $key
@param (\Closure():(bool|null))|bool|null $default
@return bool
  1. v11.0.0 追加
    変更後
    boolean(string $key, $default = null): bool [@param string $key, @param (\Closure():(bool|null))|bool|null $default, @return bool]

collection

v12.20.0 から

collection(string $key, $default = null): Illuminate\Support\Collection
@param string $key
@param (\Closure():(array<array-key, mixed>|null))|array<array-key, mixed>|null $default
@return Collection<array-key, mixed>
  1. v12.20.0 追加
    変更後
    collection(string $key, $default = null): Illuminate\Support\Collection [@param string $key, @param (\Closure():(array<array-key, mixed>|null))|array<array-key, mixed>|null $default, @return Collection<array-key, mixed>]

float

v11.0.0 以前から

float(string $key, $default = null): float
@param string $key
@param (\Closure():(float|null))|float|null $default
@return float
  1. v11.0.0 追加
    変更後
    float(string $key, $default = null): float [@param string $key, @param (\Closure():(float|null))|float|null $default, @return float]

get

v11.0.0 以前から

get($key, $default = null)
@param array|string $key
@param mixed $default
@return mixed
  1. v11.0.0 追加
    変更後
    get($key, $default = null) [@param array|string $key, @param mixed $default, @return mixed]

getMany

v11.0.0 以前から

getMany($keys)
@param array<string|int,mixed> $keys
@return array<string,mixed>
  1. v11.0.0 追加
    変更後
    getMany($keys) [@param array $keys, @return array]
  2. v11.32.0 シグネチャ変更
    変更前
    getMany($keys) [@param array $keys, @return array]
    変更後
    getMany($keys) [@param array<string|int,mixed> $keys, @return array<string,mixed>]

has

v11.0.0 以前から

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

integer

v11.0.0 以前から

integer(string $key, $default = null): int
@param string $key
@param (\Closure():(int|null))|int|null $default
@return int
  1. v11.0.0 追加
    変更後
    integer(string $key, $default = null): int [@param string $key, @param (\Closure():(int|null))|int|null $default, @return int]

offsetExists

v11.0.0 以前から

offsetExists($offset): bool
@param string $offset
@return bool
  1. v11.0.0 追加
    変更後
    offsetExists($key): bool [@param string $key, @return bool]
  2. v13.0.0 シグネチャ変更
    変更前
    offsetExists($key): bool [@param string $key, @return bool]
    変更後
    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($key): mixed [@param string $key, @return mixed]
  2. v13.0.0 シグネチャ変更
    変更前
    offsetGet($key): mixed [@param string $key, @return mixed]
    変更後
    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($key, $value): void [@param string $key, @param mixed $value, @return void]
  2. v13.0.0 シグネチャ変更
    変更前
    offsetSet($key, $value): void [@param string $key, @param mixed $value, @return void]
    変更後
    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($key): void [@param string $key, @return void]
  2. v13.0.0 シグネチャ変更
    変更前
    offsetUnset($key): void [@param string $key, @return void]
    変更後
    offsetUnset($offset): void [@param string $offset, @return void]

prepend

v11.0.0 以前から

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

push

v11.0.0 以前から

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

set

v11.0.0 以前から

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

string

v11.0.0 以前から

string(string $key, $default = null): string
@param string $key
@param (\Closure():(string|null))|string|null $default
@return string
  1. v11.0.0 追加
    変更後
    string(string $key, $default = null): string [@param string $key, @param (\Closure():(string|null))|string|null $default, @return string]