Skip to content

Commit

Permalink
[HttpFoundation] added Session::invalidate()
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Oct 12, 2010
1 parent c36612b commit 2a9ddee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Symfony/Component/HttpFoundation/Session.php
Expand Up @@ -158,6 +158,11 @@ public function remove($name)
}
}

public function invalidate()
{
$this->storage->regenerate();
}

/**
* Returns the locale
*
Expand Down

0 comments on commit 2a9ddee

Please sign in to comment.