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
-
v11.0.0
追加
- 変更後
__call($method, $parameters) [@param TKey $method, @param array{0: ?TValue} $parameters, @return $this]
-
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
__get
v11.0.0 以前から
__get($key)
@param TKey $key
@return TValue|null
-
v11.0.0
追加
- 変更後
__get($key) [@param TKey $key, @return TValue|null]
__isset
v11.0.0 以前から
__isset($key)
@param TKey $key
@return bool
-
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
-
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
-
v11.0.0
追加
- 変更後
__unset($key) [@param TKey $key, @return void]
all
v11.34.0 から
all($keys = null)
@param mixed $keys
@return array<TKey, TValue>
-
v11.34.0
追加
- 変更後
all($keys = null) [@param array|mixed|null $keys, @return array]
-
v12.26.0
シグネチャ変更
- 変更前
all($keys = null) [@param array|mixed|null $keys, @return array]- 変更後
all($keys = null) [@param mixed $keys, @return array]
-
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 で削除
fill
v11.41.1 から
fill($attributes)
@param iterable<TKey, TValue> $attributes
@return $this
-
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
-
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>
-
v11.0.0
追加
- 変更後
getAttributes() [@return array<TKey, TValue>]
getIterator
v12.20.0 から
getIterator(): Traversable
@return ArrayIterator<TKey, TValue>
-
v12.20.0
追加
- 変更後
getIterator(): Traversable [@return ArrayIterator<TKey, TValue>]
isEmpty
v12.21.0 から
isEmpty(): bool
@return bool
-
v12.21.0
追加
- 変更後
isEmpty(): bool [@return bool]
isNotEmpty
v12.21.0 から
isNotEmpty(): bool
@return bool
-
v12.21.0
追加
- 変更後
isNotEmpty(): bool [@return bool]
jsonSerialize
v11.0.0 以前から
jsonSerialize(): array
@return array<TKey, TValue>
-
v11.0.0
追加
- 変更後
jsonSerialize(): array [@return array<TKey, TValue>]
make
v12.9.0 から
static
static make($attributes = [])
@param iterable<TKey, TValue> $attributes
@return static
-
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
-
v11.0.0
追加
- 変更後
offsetExists($offset): bool [@param TKey $offset, @return bool]
offsetGet
v11.0.0 以前から
offsetGet($offset): mixed
@param TKey $offset
@return TValue|null
-
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
-
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
-
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
-
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
-
v11.36.0
追加
- 変更後
set($key, $value) [@param TKey $key, @param TValue $value, @return $this]
toArray
v11.0.0 以前から
toArray()
@return array<TKey, TValue>
-
v11.0.0
追加
- 変更後
toArray() [@return array<TKey, TValue>]
toJson
v11.0.0 以前から
toJson($options = 0)
@param int $options
@return string
-
v11.0.0
追加
- 変更後
toJson($options = 0) [@param int $options, @return string]
toPrettyJson
v12.26.0 から
toPrettyJson(int $options = 0)
@param int $options
@return string
-
v12.26.0
追加
- 変更後
toPrettyJson() [@return string]
-
v12.27.0
シグネチャ変更
- 変更前
toPrettyJson() [@return string]- 変更後
toPrettyJson(int $options = 0) [@return string]
-
v12.61.1
シグネチャ変更
- 変更前
toPrettyJson(int $options = 0) [@return string]- 変更後
toPrettyJson(int $options = 0) [@param int $options, @return string]
-
v13.0.0
シグネチャ変更
- 変更前
toPrettyJson(int $options = 0) [@param int $options, @return string]- 変更後
toPrettyJson(int $options = 0) [@return string]
-
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
-
v11.0.0
追加
- 変更後
value($key, $default = null) [@param string $key, @param mixed $default, @return mixed]