Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • AutoExpireFlashBag
  • FlashBag

Interfaces

  • FlashBagInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface FlashBagInterface

FlashBagInterface.

Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface implements Symfony\Component\HttpFoundation\Session\SessionBagInterface

Direct known implementers

Symfony\Component\HttpFoundation\Session\Flash\AutoExpireFlashBag, Symfony\Component\HttpFoundation\Session\Flash\FlashBag
Namespace: Symfony\Component\HttpFoundation\Session\Flash
Author: Drak drak@zikula.org
Located at Session/Flash/FlashBagInterface.php
Methods summary
public
# add( string $type, string $message )

Adds a flash message for type.

Adds a flash message for type.

Parameters

$type
$message
public
# set( string $type, string|array $message )

Registers a message for a given type.

Registers a message for a given type.

Parameters

$type
$message
public array
# peek( string $type, array $default = array() )

Gets flash messages for a given type.

Gets flash messages for a given type.

Parameters

$type
Message category type.
$default
Default value if $type does not exist.

Returns

array
public array
# peekAll( )

Gets all flash messages.

Gets all flash messages.

Returns

array
public array
# get( string $type, array $default = array() )

Gets and clears flash from the stack.

Gets and clears flash from the stack.

Parameters

$type
$default
Default value if $type does not exist.

Returns

array
public array
# all( )

Gets and clears flashes from the stack.

Gets and clears flashes from the stack.

Returns

array
public
# setAll( array $messages )

Sets all flash messages.

Sets all flash messages.

public boolean
# has( string $type )

Has flash messages for a given type?

Has flash messages for a given type?

Parameters

$type

Returns

boolean
public array
# keys( )

Returns a list of all defined types.

Returns a list of all defined types.

Returns

array
Methods inherited from Symfony\Component\HttpFoundation\Session\SessionBagInterface
clear(), getName(), getStorageKey(), initialize()
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen