SessionStore

Illuminate\Cache\SessionStore

class src/Illuminate/Cache/SessionStore.php

__construct

v12.29.0 から

__construct($session, $key = '_cache')
@param \Illuminate\Contracts\Session\Session $session
@param string $key
  1. v12.29.0 追加
    変更後
    __construct($session, $key = '_cache') [@param \Illuminate\Contracts\Session\Session $session, @param string $key]

all

v12.29.0 から

all()
@return array<string, array{value: mixed, expiresAt: float}>
  1. v12.29.0 追加
    変更後
    all() [@return array<string, array{value: mixed, expiresAt: float}>]

decrement

v12.29.0 から

decrement($key, $value = 1)
@param string $key
@param mixed $value
@return int
  1. v12.29.0 追加
    変更後
    decrement($key, $value = 1) [@param string $key, @param mixed $value, @return int]

flush

v12.29.0 から

flush()
@return bool
  1. v12.29.0 追加
    変更後
    flush() [@return bool]

forever

v12.29.0 から

forever($key, $value)
@param string $key
@param mixed $value
@return bool
  1. v12.29.0 追加
    変更後
    forever($key, $value) [@param string $key, @param mixed $value, @return bool]

forget

v12.29.0 から

forget($key)
@param string $key
@return bool
  1. v12.29.0 追加
    変更後
    forget($key) [@param string $key, @return bool]

get

v12.29.0 から

get($key)
@param string $key
@return mixed
  1. v12.29.0 追加
    変更後
    get($key) [@param string $key, @return mixed]

getPrefix

v12.29.0 から

getPrefix()
@return string
  1. v12.29.0 追加
    変更後
    getPrefix() [@return string]

increment

v12.29.0 から

increment($key, $value = 1)
@param string $key
@param mixed $value
@return int
  1. v12.29.0 追加
    変更後
    increment($key, $value = 1) [@param string $key, @param mixed $value, @return int]

itemKey

v12.29.0 から

itemKey($key)
@return string
  1. v12.29.0 追加
    変更後
    itemKey($key) [@return string]

put

v12.29.0 から

put($key, $value, $seconds)
@param string $key
@param mixed $value
@param int $seconds
@return bool
  1. v12.29.0 追加
    変更後
    put($key, $value, $seconds) [@param string $key, @param mixed $value, @param int $seconds, @return bool]

touch

v13.0.0 から

touch($key, $seconds)
@param string $key
@param int $seconds
@return bool
  1. v13.0.0 追加
    変更後
    touch($key, $seconds) [@param string $key, @param int $seconds, @return bool]