public function FlashBagInterface::get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php \Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface::get()
Gets and clears flash from the stack.
Parameters
string $type:
array $default Default value if $type does not exist.:
Return value
array
2 methods override FlashBagInterface::get()
- AutoExpireFlashBag::get in vendor/
symfony/ http-foundation/ Session/ Flash/ AutoExpireFlashBag.php - Gets and clears flash from the stack.
- FlashBag::get in vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php - Gets and clears flash from the stack.
File
- vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBagInterface.php, line 64
Class
- FlashBagInterface
- FlashBagInterface.
Namespace
Symfony\Component\HttpFoundation\Session\FlashCode
public function get($type, array $default = array());