You are here

public function SessionInterface::remove in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/SessionInterface.php \Symfony\Component\HttpFoundation\Session\SessionInterface::remove()

Removes an attribute.

Parameters

string $name:

Return value

mixed The removed value or null when it does not exist

1 method overrides SessionInterface::remove()
Session::remove in vendor/symfony/http-foundation/Session/Session.php
Removes an attribute.

File

vendor/symfony/http-foundation/Session/SessionInterface.php, line 146

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function remove($name);