public function AutoExpireFlashBag::clear

Clears out data from bag.

Return value

mixed Whatever data was contained.

Overrides SessionBagInterface::clear

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/AutoExpireFlashBag.php, line 172

Class

AutoExpireFlashBag
AutoExpireFlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function clear() {
  return $this
    ->all();
}