[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/http-foundation/Session/Flash/ -> FlashBagInterface.php (summary)

(no description)

File Size: 93 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FlashBagInterface:: (9 methods):
  add()
  set()
  peek()
  peekAll()
  get()
  all()
  setAll()
  has()
  keys()


Interface: FlashBagInterface  - X-Ref

FlashBagInterface.

add($type, $message)   X-Ref
Adds a flash message for the given type.

param: string $type
param: mixed  $message

set($type, $messages)   X-Ref
Registers one or more messages for a given type.

param: string       $type
param: string|array $messages

peek($type, array $default = [])   X-Ref
Gets flash messages for a given type.

param: string $type    Message category type
param: array  $default Default value if $type does not exist
return: array

peekAll()   X-Ref
Gets all flash messages.

return: array

get($type, array $default = [])   X-Ref
Gets and clears flash from the stack.

param: string $type
param: array  $default Default value if $type does not exist
return: array

all()   X-Ref
Gets and clears flashes from the stack.

return: array

setAll(array $messages)   X-Ref
Sets all flash messages.


has($type)   X-Ref
Has flash messages for a given type?

param: string $type
return: bool

keys()   X-Ref
Returns a list of all defined types.

return: array



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1