Final Class Yiisoft\Session\NullSession
| Inheritance | Yiisoft\Session\NullSession |
|---|---|
| Implements | Yiisoft\Session\SessionInterface |
Public Methods
Method Details
| public get( string $key, mixed $default = null ): mixed | ||
| $key | string | |
| $default | mixed | |
public function get(string $key, $default = null)
{
return null;
}
| public has( string $key ): boolean | ||
| $key | string | |
public function has(string $key): bool
{
return false;
}
| public pull( string $key, mixed $default = null ): mixed | ||
| $key | string | |
| $default | mixed | |
public function pull(string $key, $default = null)
{
return null;
}
| public set( string $key, mixed $value ): void | ||
| $key | string | |
| $value | mixed | |
public function set(string $key, $value): void
{
}
Signup or Login in order to comment.