Paginator
Illuminate\Pagination\Paginator
class src/Illuminate/Pagination/Paginator.php
__construct
v11.0.0 以前から
__construct($items, $perPage, $currentPage = null, array $options = [])
@param Collection<TKey, TValue>|Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
@param int $perPage
@param int|null $currentPage
@param array $options
-
v11.0.0
追加
- 変更後
__construct($items, $perPage, $currentPage = null, array $options = []) [@param mixed $items, @param int $perPage, @param int|null $currentPage, @param array $options, @return void]
-
v11.32.0
シグネチャ変更
- 変更前
__construct($items, $perPage, $currentPage = null, array $options = []) [@param mixed $items, @param int $perPage, @param int|null $currentPage, @param array $options, @return void]- 変更後
__construct($items, $perPage, $currentPage = null, array $options = []) [@param TValue[] $items, @param int $perPage, @param int|null $currentPage, @param array $options, @return void]
-
v11.34.0
シグネチャ変更
- 変更前
__construct($items, $perPage, $currentPage = null, array $options = []) [@param TValue[] $items, @param int $perPage, @param int|null $currentPage, @param array $options, @return void]- 変更後
__construct($items, $perPage, $currentPage = null, array $options = []) [@param Collection<TKey, TValue>|Arrayable<TKey, TValue>|iterable<TKey, TValue> $items, @param int $perPage, @param int|null $currentPage, @param array $options, @return void]
-
v12.4.0
シグネチャ変更
- 変更前
__construct($items, $perPage, $currentPage = null, array $options = []) [@param Collection<TKey, TValue>|Arrayable<TKey, TValue>|iterable<TKey, TValue> $items, @param int $perPage, @param int|null $currentPage, @param array $options, @return void]- 変更後
__construct($items, $perPage, $currentPage = null, array $options = []) [@param Collection<TKey, TValue>|Arrayable<TKey, TValue>|iterable<TKey, TValue> $items, @param int $perPage, @param int|null $currentPage, @param array $options]
hasMorePages
v11.0.0 以前から
hasMorePages()
@return bool
-
v11.0.0
追加
- 変更後
hasMorePages() [@return bool]
hasMorePagesWhen
v11.0.0 以前から
hasMorePagesWhen($hasMore = true)
@param bool $hasMore
@return $this
-
v11.0.0
追加
- 変更後
hasMorePagesWhen($hasMore = true) [@param bool $hasMore, @return $this]
jsonSerialize
v11.0.0 以前から
jsonSerialize(): array
@return array
-
v11.0.0
追加
- 変更後
jsonSerialize(): array [@return array]
links
v11.0.0 以前から
links($view = null, $data = [])
@param string|null $view
@param array $data
@return string
-
v11.0.0
追加
- 変更後
links($view = null, $data = []) [@param string|null $view, @param array $data, @return string]
nextPageUrl
v11.0.0 以前から
nextPageUrl()
@return string|null
-
v11.0.0
追加
- 変更後
nextPageUrl() [@return string|null]
render
v11.0.0 以前から
render($view = null, $data = [])
@param string|null $view
@param array $data
@return \Illuminate\Contracts\Support\Htmlable
-
v11.0.0
追加
- 変更後
render($view = null, $data = []) [@param string|null $view, @param array $data, @return \Illuminate\Contracts\Support\Htmlable]
toArray
v11.0.0 以前から
toArray()
@return array
-
v11.0.0
追加
- 変更後
toArray() [@return array]
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