Fluent

Illuminate\Support\Fluent

class src/Illuminate/Support/Fluent.php

__call

v11.0.0 以前から

__call($method, $parameters)
@param TKey $method
@param array{0?: ?TValue} $parameters
@return $this
  1. v11.0.0 追加
    変更後
    __call($method, $parameters) [@param TKey $method, @param array{0: ?TValue} $parameters, @return $this]
  2. v13.17.0 シグネチャ変更
    変更前
    __call($method, $parameters) [@param TKey $method, @param array{0: ?TValue} $parameters, @return $this]
    変更後
    __call($method, $parameters) [@param TKey $method, @param array{0?: ?TValue} $parameters, @return $this]

__construct

v11.0.0 以前から

__construct($attributes = [])
@param iterable<TKey, TValue> $attributes
  1. v11.0.0 追加
    変更後
    __construct($attributes = []) [@param iterable<TKey, TValue> $attributes, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($attributes = []) [@param iterable<TKey, TValue> $attributes, @return void]
    変更後
    __construct($attributes = []) [@param iterable<TKey, TValue> $attributes]

__get

v11.0.0 以前から

__get($key)
@param TKey $key
@return TValue|null
  1. v11.0.0 追加
    変更後
    __get($key) [@param TKey $key, @return TValue|null]

__isset

v11.0.0 以前から

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

__set

v11.0.0 以前から

__set($key, $value)
@param TKey $key
@param TValue $value
@return void
  1. v11.0.0 追加
    変更後
    __set($key, $value) [@param TKey $key, @param TValue $value, @return void]

__unset

v11.0.0 以前から

__unset($key)
@param TKey $key
@return void
  1. v11.0.0 追加
    変更後
    __unset($key) [@param TKey $key, @return void]

all

v11.34.0 から

all($keys = null)
@param mixed $keys
@return array<TKey, TValue>
  1. v11.34.0 追加
    変更後
    all($keys = null) [@param array|mixed|null $keys, @return array]
  2. v12.26.0 シグネチャ変更
    変更前
    all($keys = null) [@param array|mixed|null $keys, @return array]
    変更後
    all($keys = null) [@param mixed $keys, @return array]
  3. v13.3.0 シグネチャ変更
    変更前
    all($keys = null) [@param mixed $keys, @return array]
    変更後
    all($keys = null) [@param mixed $keys, @return array<TKey, TValue>]

collect

v11.0.0 以前から

v11.34.0 で削除

  1. v11.0.0 追加
    変更後
    collect($key = null) [@param string|null $key, @return \Illuminate\Support\Collection]
  2. v11.34.0 削除
    変更前
    collect($key = null) [@param string|null $key, @return \Illuminate\Support\Collection]

fill

v11.41.1 から

fill($attributes)
@param iterable<TKey, TValue> $attributes
@return $this
  1. v11.41.1 追加
    変更後
    fill($attributes) [@param iterable<TKey, TValue> $attributes, @return $this]

get

v11.0.0 以前から

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

getAttributes

v11.0.0 以前から

getAttributes()
@return array<TKey, TValue>
  1. v11.0.0 追加
    変更後
    getAttributes() [@return array<TKey, TValue>]

getIterator

v12.20.0 から

getIterator(): Traversable
@return ArrayIterator<TKey, TValue>
  1. v12.20.0 追加
    変更後
    getIterator(): Traversable [@return ArrayIterator<TKey, TValue>]

isEmpty

v12.21.0 から

isEmpty(): bool
@return bool
  1. v12.21.0 追加
    変更後
    isEmpty(): bool [@return bool]

isNotEmpty

v12.21.0 から

isNotEmpty(): bool
@return bool
  1. v12.21.0 追加
    変更後
    isNotEmpty(): bool [@return bool]

jsonSerialize

v11.0.0 以前から

jsonSerialize(): array
@return array<TKey, TValue>
  1. v11.0.0 追加
    変更後
    jsonSerialize(): array [@return array<TKey, TValue>]

make

v12.9.0 から

static

static make($attributes = [])
@param iterable<TKey, TValue> $attributes
@return static
  1. v12.9.0 追加
    変更後
    static make($attributes = []) [@param iterable<TKey, TValue> $attributes, @return static]

offsetExists

v11.0.0 以前から

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

offsetGet

v11.0.0 以前から

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

offsetSet

v11.0.0 以前から

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

offsetUnset

v11.0.0 以前から

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

scope

v11.0.0 以前から

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

set

v11.36.0 から

set($key, $value)
@param TKey $key
@param TValue $value
@return $this
  1. v11.36.0 追加
    変更後
    set($key, $value) [@param TKey $key, @param TValue $value, @return $this]

toArray

v11.0.0 以前から

toArray()
@return array<TKey, TValue>
  1. v11.0.0 追加
    変更後
    toArray() [@return array<TKey, TValue>]

toJson

v11.0.0 以前から

toJson($options = 0)
@param int $options
@return string
  1. v11.0.0 追加
    変更後
    toJson($options = 0) [@param int $options, @return string]

toPrettyJson

v12.26.0 から

toPrettyJson(int $options = 0)
@param int $options
@return string
  1. v12.26.0 追加
    変更後
    toPrettyJson() [@return string]
  2. v12.27.0 シグネチャ変更
    変更前
    toPrettyJson() [@return string]
    変更後
    toPrettyJson(int $options = 0) [@return string]
  3. v12.61.1 シグネチャ変更
    変更前
    toPrettyJson(int $options = 0) [@return string]
    変更後
    toPrettyJson(int $options = 0) [@param int $options, @return string]
  4. v13.0.0 シグネチャ変更
    変更前
    toPrettyJson(int $options = 0) [@param int $options, @return string]
    変更後
    toPrettyJson(int $options = 0) [@return string]
  5. v13.9.0 シグネチャ変更
    変更前
    toPrettyJson(int $options = 0) [@return string]
    変更後
    toPrettyJson(int $options = 0) [@param int $options, @return string]

value

v11.0.0 以前から

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