SymfonySessionDecorator
class SymfonySessionDecorator implements SessionInterface (View source)
Properties
| protected Store | $store | The underlying Laravel session store. |
Methods
| void | __construct(Session $store)
Create a new session decorator. | |
| bool | start() {@inheritdoc} | |
| string | getId() {@inheritdoc} | |
| void | setId(string $id) {@inheritdoc} | |
| string | getName() {@inheritdoc} | |
| void | setName(string $name) {@inheritdoc} | |
| bool | invalidate(int $lifetime = null) {@inheritdoc} | |
| bool | migrate(bool $destroy = false, int $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} |
Details
void __construct(Session $store)
Create a new session decorator.
bool start()
{@inheritdoc}
string getId()
{@inheritdoc}
void setId(string $id)
{@inheritdoc}
string getName()
{@inheritdoc}
void setName(string $name)
{@inheritdoc}
bool invalidate(int $lifetime = null)
{@inheritdoc}
bool migrate(bool $destroy = false, int $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}
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Session/SymfonySessionDecorator.html