Spec-Zone.ru › Laravel 11

SymfonySessionDecorator

class SymfonySessionDecorator implements SessionInterface (View source)

Свойства

Session $store

Основной Laravel хранилище сессии.

Методы

void __construct(Session $store)

Создать новый декоратор сессии.

bool start()

{@inheritdoc}

string getId()

{@inheritdoc}

void setId(string $id)

{@inheritdoc}

string getName()

{@inheritdoc}

void setName(string $name)

{@inheritdoc}

bool invalidate(int|null $lifetime = null)

{@inheritdoc}

bool migrate(bool $destroy = false, int|null $lifetime = null)

{@inheritdoc}

void save()

{@inheritdoc}

bool has(string $name)

{@inheritdoc}

mixed get(string $name, mixed $default = null)

{@inheritdoc}

void set(string $name, mixed $value)

{@inheritdoc}

array all()

{@inheritdoc}

void replace(array $attributes)

{@inheritdoc}

mixed remove(string $name)

{@inheritdoc}

void clear()

{@inheritdoc}

bool isStarted()

{@inheritdoc}

void registerBag(SessionBagInterface $bag)

{@inheritdoc}

SessionBagInterface getBag(string $name)

{@inheritdoc}

MetadataBag getMetadataBag()

{@inheritdoc}

Подробности

void __construct(Session $store)

Создать новый декоратор сессии.

Параметры

Session $store

Возвращаемое значение

void

bool start()

{@inheritdoc}

Возвращаемое значение

bool

string getId()

{@inheritdoc}

Возвращаемое значение

string

void setId(string $id)

{@inheritdoc}

Параметры

string $id

Возвращаемое значение

void

string getName()

{@inheritdoc}

Возвращаемое значение

string

void setName(string $name)

{@inheritdoc}

Параметры

string $name

Возвращаемое значение

void

bool invalidate(int|null $lifetime = null)

{@inheritdoc}

Параметры

int|null $lifetime

Возвращаемое значение

bool

bool migrate(bool $destroy = false, int|null $lifetime = null)

{@inheritdoc}

Параметры

bool $destroy
int|null $lifetime

Возвращаемое значение

bool

void save()

{@inheritdoc}

Возвращаемое значение

void

bool has(string $name)

{@inheritdoc}

Параметры

string $name

Возвращаемое значение

bool

mixed get(string $name, mixed $default = null)

{@inheritdoc}

Параметры

string $name
mixed $default

Возвращаемое значение

mixed

void set(string $name, mixed $value)

{@inheritdoc}

Параметры

string $name
mixed $value

Возвращаемое значение

void

array all()

{@inheritdoc}

Возвращаемое значение

array

void replace(array $attributes)

{@inheritdoc}

Параметры

array $attributes

Возвращаемое значение

void

mixed remove(string $name)

{@inheritdoc}

Параметры

string $name

Возвращаемое значение

mixed

void clear()

{@inheritdoc}

Возвращаемое значение

void

bool isStarted()

{@inheritdoc}

Возвращаемое значение

bool

void registerBag(SessionBagInterface $bag)

{@inheritdoc}

Параметры

SessionBagInterface $bag

Возвращаемое значение

void

SessionBagInterface getBag(string $name)

{@inheritdoc}

Параметры

string $name

Возвращаемое значение

SessionBagInterface

MetadataBag getMetadataBag()

{@inheritdoc}

Возвращаемое значение

MetadataBag

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Session/SymfonySessionDecorator.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API