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