Attributes */ public function all(): array; /** * Sets attributes. * * @param array $attributes Attributes */ public function replace(array $attributes): void; /** * Removes an attribute. * * @param string $name The attribute name * * @return mixed The removed value or null when it does not exist */ public function remove(string $name): mixed; /** * Clears all attributes. */ public function clear(): void; /** * Checks if the session was started. * * @return bool True if started, false otherwise */ public function isStarted(): bool; }