FlattenException

class FlattenException FlattenException wraps a PHP Exception to be able to serialize it. Basically, this class removes all objects from the trace. Methods static create(Exception $exception, $statusCode = null, array $headers = array()) toArray() getStatusCode() setStatusCode($code) getHeaders() setHeaders(array $headers) getClass() setClass($class) getFile() setFile($file) getLine() setLine($line) getMessage()

FlashBagInterface::setAll()

setAll(array $messages) Sets all flash messages. Parameters array $messages

FlashBagInterface::peekAll()

array peekAll() Gets all flash messages. Return Value array

FlashBagInterface::peek()

array peek(string $type, array $default = array()) Gets flash messages for a given type. Parameters string $type Message category type array $default Default value if $type does not exist Return Value array

FlashBagInterface::keys()

array keys() Returns a list of all defined types. Return Value array

FlashBagInterface::has()

bool has(string $type) Has flash messages for a given type? Parameters string $type Return Value bool

FlashBagInterface::all()

array all() Gets and clears flashes from the stack. Return Value array

FlashBagInterface::add()

add(string $type, string $message) Adds a flash message for type. Parameters string $type string $message

FlashBagInterface

interface FlashBagInterface implements SessionBagInterface FlashBagInterface. Methods string getName() Gets this bag's name. from SessionBagInterface initialize(array $array) Initializes the Bag. from SessionBagInterface string getStorageKey() Gets the storage key for this bag. from SessionBagInterface mixed clear() Clears out data from bag. from SessionBagInterface add(string $type, string $message) Adds a flash message for type. set(string $type, string|array $mess

FlashBag::setName()

setName($name) Parameters $name