AbstractCursorPaginator

Illuminate\Pagination\AbstractCursorPaginator

class src/Illuminate/Pagination/AbstractCursorPaginator.php

__call

v11.0.0 以前から

__call($method, $parameters)
@param string $method
@param array $parameters
@return mixed
  1. v11.0.0 追加
    変更後
    __call($method, $parameters) [@param string $method, @param array $parameters, @return mixed]

__toString

v11.0.0 以前から

__toString()
@return string
  1. v11.0.0 追加
    変更後
    __toString() [@return string]

appends

v11.0.0 以前から

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

count

v11.0.0 以前から

count(): int
@return int
  1. v11.0.0 追加
    変更後
    count(): int [@return int]

currentCursorResolver

v11.0.0 以前から

static

static currentCursorResolver(Closure $resolver)
@param \Closure $resolver
@return void
  1. v11.0.0 追加
    変更後
    static currentCursorResolver(Closure $resolver) [@param \Closure $resolver, @return void]

cursor

v11.0.0 以前から

cursor()
@return \Illuminate\Pagination\Cursor|null
  1. v11.0.0 追加
    変更後
    cursor() [@return \Illuminate\Pagination\Cursor|null]

fragment

v11.0.0 以前から

fragment($fragment = null)
@param string|null $fragment
@return ($fragment is null ? string|null : $this)
  1. v11.0.0 追加
    変更後
    fragment($fragment = null) [@param string|null $fragment, @return $this|string|null]
  2. v13.18.0 シグネチャ変更
    変更前
    fragment($fragment = null) [@param string|null $fragment, @return $this|string|null]
    変更後
    fragment($fragment = null) [@param string|null $fragment, @return ($fragment is null ? string|null : $this)]

getCollection

v11.0.0 以前から

getCollection()
@return \Illuminate\Support\Collection<TKey, TValue>
  1. v11.0.0 追加
    変更後
    getCollection() [@return \Illuminate\Support\Collection]
  2. v11.43.0 シグネチャ変更
    変更前
    getCollection() [@return \Illuminate\Support\Collection]
    変更後
    getCollection() [@return \Illuminate\Support\Collection<TKey, TValue>]

getCursorForItem

v11.0.0 以前から

getCursorForItem($item, $isNext = true)
@param \ArrayAccess|\stdClass $item
@param bool $isNext
@return \Illuminate\Pagination\Cursor
  1. v11.0.0 追加
    変更後
    getCursorForItem($item, $isNext = true) [@param \ArrayAccess|\stdClass $item, @param bool $isNext, @return \Illuminate\Pagination\Cursor]

getCursorName

v11.0.0 以前から

getCursorName()
@return string
  1. v11.0.0 追加
    変更後
    getCursorName() [@return string]

getIterator

v11.0.0 以前から

getIterator(): Traversable
@return \ArrayIterator<TKey, TValue>
  1. v11.0.0 追加
    変更後
    getIterator(): Traversable [@return \ArrayIterator]
  2. v11.32.0 シグネチャ変更
    変更前
    getIterator(): Traversable [@return \ArrayIterator]
    変更後
    getIterator(): Traversable [@return \ArrayIterator<TKey, TValue>]

getOptions

v11.0.0 以前から

getOptions()
@return array
  1. v11.0.0 追加
    変更後
    getOptions() [@return array]

getParametersForItem

v11.0.0 以前から

getParametersForItem($item)
@param \ArrayAccess|\stdClass $item
@return array
  1. v11.0.0 追加
    変更後
    getParametersForItem($item) [@param \ArrayAccess|\stdClass $item, @return array]

isEmpty

v11.0.0 以前から

isEmpty()
@return bool
  1. v11.0.0 追加
    変更後
    isEmpty() [@return bool]

isNotEmpty

v11.0.0 以前から

isNotEmpty()
@return bool
  1. v11.0.0 追加
    変更後
    isNotEmpty() [@return bool]

items

v11.0.0 以前から

items()
@return array<TKey, TValue>
  1. v11.0.0 追加
    変更後
    items() [@return array]
  2. v11.32.0 シグネチャ変更
    変更前
    items() [@return array]
    変更後
    items() [@return array<TKey, TValue>]

loadMorph

v11.0.0 以前から

loadMorph($relation, $relations)
@param string $relation
@param array $relations
@return $this
  1. v11.0.0 追加
    変更後
    loadMorph($relation, $relations) [@param string $relation, @param array $relations, @return $this]

loadMorphCount

v11.0.0 以前から

loadMorphCount($relation, $relations)
@param string $relation
@param array $relations
@return $this
  1. v11.0.0 追加
    変更後
    loadMorphCount($relation, $relations) [@param string $relation, @param array $relations, @return $this]

nextCursor

v11.0.0 以前から

nextCursor()
@return \Illuminate\Pagination\Cursor|null
  1. v11.0.0 追加
    変更後
    nextCursor() [@return \Illuminate\Pagination\Cursor|null]

nextPageUrl

v11.0.0 以前から

nextPageUrl()
@return string|null
  1. v11.0.0 追加
    変更後
    nextPageUrl() [@return string|null]

offsetExists

v11.0.0 以前から

offsetExists($key): bool
@param TKey $key
@return bool
  1. v11.0.0 追加
    変更後
    offsetExists($key): bool [@param mixed $key, @return bool]
  2. v11.42.0 シグネチャ変更
    変更前
    offsetExists($key): bool [@param mixed $key, @return bool]
    変更後
    offsetExists($key): bool [@param TKey $key, @return bool]

offsetGet

v11.0.0 以前から

offsetGet($key): mixed
@param TKey $key
@return TValue|null
  1. v11.0.0 追加
    変更後
    offsetGet($key): mixed [@param mixed $key, @return mixed]
  2. v11.42.0 シグネチャ変更
    変更前
    offsetGet($key): mixed [@param mixed $key, @return mixed]
    変更後
    offsetGet($key): mixed [@param TKey $key, @return TValue]
  3. v11.43.0 シグネチャ変更
    変更前
    offsetGet($key): mixed [@param TKey $key, @return TValue]
    変更後
    offsetGet($key): mixed [@param TKey $key, @return TValue|null]

offsetSet

v11.0.0 以前から

offsetSet($key, $value): void
@param TKey|null $key
@param TValue $value
@return void
  1. v11.0.0 追加
    変更後
    offsetSet($key, $value): void [@param mixed $key, @param mixed $value, @return void]
  2. v11.42.0 シグネチャ変更
    変更前
    offsetSet($key, $value): void [@param mixed $key, @param mixed $value, @return void]
    変更後
    offsetSet($key, $value): void [@param TKey|null $key, @param TValue $value, @return void]

offsetUnset

v11.0.0 以前から

offsetUnset($key): void
@param TKey $key
@return void
  1. v11.0.0 追加
    変更後
    offsetUnset($key): void [@param mixed $key, @return void]
  2. v11.42.0 シグネチャ変更
    変更前
    offsetUnset($key): void [@param mixed $key, @return void]
    変更後
    offsetUnset($key): void [@param TKey $key, @return void]

path

v11.0.0 以前から

path()
@return string|null
  1. v11.0.0 追加
    変更後
    path() [@return string|null]

perPage

v11.0.0 以前から

perPage()
@return int
  1. v11.0.0 追加
    変更後
    perPage() [@return int]

previousCursor

v11.0.0 以前から

previousCursor()
@return \Illuminate\Pagination\Cursor|null
  1. v11.0.0 追加
    変更後
    previousCursor() [@return \Illuminate\Pagination\Cursor|null]

previousPageUrl

v11.0.0 以前から

previousPageUrl()
@return string|null
  1. v11.0.0 追加
    変更後
    previousPageUrl() [@return string|null]

resolveCurrentCursor

v11.0.0 以前から

static

static resolveCurrentCursor($cursorName = 'cursor', $default = null)
@param string $cursorName
@param \Illuminate\Pagination\Cursor|null $default
@return \Illuminate\Pagination\Cursor|null
  1. v11.0.0 追加
    変更後
    static resolveCurrentCursor($cursorName = 'cursor', $default = null) [@param string $cursorName, @return \Illuminate\Pagination\Cursor|null]
  2. v12.54.0 シグネチャ変更
    変更前
    static resolveCurrentCursor($cursorName = 'cursor', $default = null) [@param string $cursorName, @return \Illuminate\Pagination\Cursor|null]
    変更後
    static resolveCurrentCursor($cursorName = 'cursor', $default = null) [@param string $cursorName, @param \Illuminate\Pagination\Cursor|null $default, @return \Illuminate\Pagination\Cursor|null]

setCollection

v11.0.0 以前から

setCollection(Illuminate\Support\Collection $collection)
@param \Illuminate\Support\Collection<TSetKey, TSetValue> $collection
@return $this
  1. v11.0.0 追加
    変更後
    setCollection(Illuminate\Support\Collection $collection) [@param \Illuminate\Support\Collection $collection, @return $this]
  2. v11.43.0 シグネチャ変更
    変更前
    setCollection(Illuminate\Support\Collection $collection) [@param \Illuminate\Support\Collection $collection, @return $this]
    変更後
    setCollection(Illuminate\Support\Collection $collection) [@param \Illuminate\Support\Collection<TSetKey, TSetValue> $collection, @return $this]

setCursorName

v11.0.0 以前から

setCursorName($name)
@param string $name
@return $this
  1. v11.0.0 追加
    変更後
    setCursorName($name) [@param string $name, @return $this]

setPath

v11.0.0 以前から

setPath($path)
@param string $path
@return $this
  1. v11.0.0 追加
    変更後
    setPath($path) [@param string $path, @return $this]

through

v11.0.0 以前から

through(callable $callback)
@param callable(TValue, TKey): TThroughValue $callback
@return $this
  1. v11.0.0 追加
    変更後
    through(callable $callback) [@param callable $callback, @return $this]
  2. v12.21.0 シグネチャ変更
    変更前
    through(callable $callback) [@param callable $callback, @return $this]
    変更後
    through(callable $callback) [@param callable(TValue, TKey): TThroughValue $callback, @return $this]

toHtml

v11.0.0 以前から

toHtml()
@return string
  1. v11.0.0 追加
    変更後
    toHtml() [@return string]

url

v11.0.0 以前から

url($cursor)
@param \Illuminate\Pagination\Cursor|null $cursor
@return string
  1. v11.0.0 追加
    変更後
    url($cursor) [@param \Illuminate\Pagination\Cursor|null $cursor, @return string]

viewFactory

v11.0.0 以前から

static

static viewFactory()
@return \Illuminate\Contracts\View\Factory
  1. v11.0.0 追加
    変更後
    static viewFactory() [@return \Illuminate\Contracts\View\Factory]

withPath

v11.0.0 以前から

withPath($path)
@param string $path
@return $this
  1. v11.0.0 追加
    変更後
    withPath($path) [@param string $path, @return $this]

withQueryString

v11.0.0 以前から

withQueryString()
@return $this
  1. v11.0.0 追加
    変更後
    withQueryString() [@return $this]